(self.webpackChunk_publisher_dist_publisher_sales=self.webpackChunk_publisher_dist_publisher_sales||[]).push([["vendors"],{1907(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(6289),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(0,r.A)(function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)})},6289(e,t,n){"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:()=>r})},3969(e,t,n){"use strict";n.d(t,{A:()=>r});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},70(e,t,n){"use strict";n.d(t,{ob:()=>c,Kq:()=>g,eC:()=>h});var r=n(8174),o=n(6540),i=n(5556),a=n.n(i),s=n(9738),l=n.n(s);function u(e){var t;return!!(null!=e&&null!=(t=e.options)&&t.accessToken)}var c=(0,o.createContext)();c.displayName="Rollbar";var f=Symbol("RollbarInstance"),p=Symbol("BaseOptions"),d=Symbol("RollbarCtor");function h(e){return e[f]}var g=function(e){function t(e){(0,r.xs)(this,t);var n=(0,r.qW)(this,t,[e]),o=n.props,i=o.config,a=o.Rollbar,s=void 0===a?l():a,c=o.instance;if(!(!c||u(c)))throw Error("Invariant failed");var f="function"==typeof i?i():i;return n.state={rollbar:c||new s(f),options:f},n}return(0,r.B)(t,e),(0,r.j6)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.Rollbar,i=void 0===n?l():n,a=this.state,s=a.rollbar,u=a.options;return o.createElement(c.Provider,{value:(0,r.n8)((0,r.n8)((0,r.n8)({},f,s),p,u),d,i)},t)}}]),t}(o.Component);(0,r.n8)(g,"propTypes",{Rollbar:a().func,config:function(e,t,n){if(!e.config&&!e.instance)return Error("One of the required props 'config' or 'instance' must be set for ".concat(n,"."));if(e.config){var o=(0,r.uk)(e.config);if("function"===o||"object"===o&&!Array.isArray(o))return;return Error("".concat(t," must be either an Object or a Function"))}},instance:function(e,t,n){return e.config||e.instance?e.instance&&!u(e.instance)?Error("".concat(t," must be a configured instance of Rollbar")):void 0:Error("One of the required props 'config' or 'instance' must be set for ".concat(n,"."))},children:a().node})},8174(e,t,n){"use strict";function r(e,t,n){return t=p(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e,o()?Reflect.construct(t,n||[],p(e).constructor):t.apply(e,n))}function o(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(o=function(){return!!e})()}function i(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;nf,j6:()=>u,n8:()=>c,qW:()=>r,uk:()=>a,xs:()=>s})},9252(e,t,n){"use strict";n.d(t,{CM:()=>o});var r=n(8174),o="error";(0,r.n8)((0,r.n8)((0,r.n8)((0,r.n8)((0,r.n8)({},"debug",1),"info",2),"warn",3),o,4),"critical",5)},9269(e,t,n){"use strict";n.d(t,{S:()=>i});var r=n(6540),o=n(70);function i(){var e=(0,r.useContext)(o.ob);return(0,o.eC)(e)}},4744(e){"use strict";var t=function(e){var t,r,o;return!!(t=e)&&"object"==typeof t&&(r=e,"[object RegExp]"!==(o=Object.prototype.toString.call(r))&&"[object Date]"!==o&&r.$$typeof!==n)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s(Array.isArray(e)?[]:{},e,t):e}function o(e,t,n){return e.concat(t).map(function(e){return r(e,n)})}function i(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,n,l){(l=l||{}).arrayMerge=l.arrayMerge||o,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=r;var u,c,f=Array.isArray(n);return f!==Array.isArray(e)?r(n,l):f?l.arrayMerge(e,n,l):(c={},(u=l).isMergeableObject(e)&&i(e).forEach(function(t){c[t]=r(e[t],u)}),i(n).forEach(function(t){a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))||(a(e,t)&&u.isMergeableObject(n[t])?c[t]=(function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s})(t,u)(e[t],n[t],u):c[t]=r(n[t],u))}),c)}s.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,n){return s(e,n,t)},{})},e.exports=s},5889(e,t,n){"use strict";function r(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,["leaves"]),{leaves:null!=t?a(Array.isArray(t)?t:o(t)).map(function(e){return c(e)}):null}))}}},3018(e,t,n){"use strict";var r=n(9404),o=r.Map,i=r.OrderedSet,a=r.Record,s=i(),l={style:s,entity:null},u=function(e){function t(){return e.apply(this,arguments)||this}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e;var n=t.prototype;return n.getStyle=function(){return this.get("style")},n.getEntity=function(){return this.get("entity")},n.hasStyle=function(e){return this.getStyle().includes(e)},t.applyStyle=function(e,n){var r=e.set("style",e.getStyle().add(n));return t.create(r)},t.removeStyle=function(e,n){var r=e.set("style",e.getStyle().remove(n));return t.create(r)},t.applyEntity=function(e,n){var r=e.getEntity()===n?e:e.set("entity",n);return t.create(r)},t.create=function(e){if(!e)return c;var n=o({style:s,entity:null}).merge(e),r=f.get(n);if(r)return r;var i=new t(n);return f=f.set(n,i),i},t.fromJS=function(e){var n=e.style,r=e.entity;return new t({style:Array.isArray(n)?i(n):n,entity:Array.isArray(r)?i(r):r})},t}(a(l)),c=new u,f=o([[o(l),c]]);u.EMPTY=c,e.exports=u},9083(e,t,n){"use strict";var r=n(9404).List;e.exports=function(){function e(e){var t,n;n=void 0,(t="_decorators")in this?Object.defineProperty(this,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):this[t]=n,this._decorators=e.slice()}var t=e.prototype;return t.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this._decorators.forEach(function(r,o){var i=0;(0,r.strategy)(e,function(e,t){(function(e,t,n){for(var r=t;r0&&void 0!==arguments[0]?arguments[0]:p;return e.call(this,g(t))||this}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e;var n=t.prototype;return n.getKey=function(){return this.get("key")},n.getType=function(){return this.get("type")},n.getText=function(){return this.get("text")},n.getCharacterList=function(){return this.get("characterList")},n.getLength=function(){return this.getText().length},n.getDepth=function(){return this.get("depth")},n.getData=function(){return this.get("data")},n.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():f},n.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},n.getChildKeys=function(){return this.get("children")},n.getParentKey=function(){return this.get("parent")},n.getPrevSiblingKey=function(){return this.get("prevSibling")},n.getNextSiblingKey=function(){return this.get("nextSibling")},n.findStyleRanges=function(e,t){o(this.getCharacterList(),d,e,t)},n.findEntityRanges=function(e,t){o(this.getCharacterList(),h,e,t)},t}(u(p))},7656(e,t,n){"use strict";function r(e){for(var t=1;t1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},n.createEntity=function(e,t,n){return l.__create(e,t,n),this},n.mergeEntityData=function(e,t){return l.__mergeData(e,t),this},n.replaceEntityData=function(e,t){return l.__replaceData(e,t),this},n.addEntity=function(e){return l.__add(e),this},n.getEntity=function(e){return l.__get(e)},n.getAllEntities=function(){return l.__getAll()},n.loadWithEntities=function(e){return l.__loadWithEntities(e)},t.createFromBlockArray=function(e,n){var r=Array.isArray(e)?e:e.contentBlocks,i=o.createFromArray(r),a=i.isEmpty()?new u:u.createEmpty(i.first().getKey());return new t({blockMap:i,entityMap:n||l,selectionBefore:a,selectionAfter:a})},t.createFromText=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,r=e.split(n).map(function(e){return e=h(e),new _({key:c(),text:e,type:"unstyled",characterList:g(y(i.EMPTY,e.length))})});return t.createFromBlockArray(r)},t.fromJS=function(e){return new t(r({},e,{blockMap:b(e.blockMap).map(t.createContentBlockFromJS),selectionBefore:new u(e.selectionBefore),selectionAfter:new u(e.selectionAfter)}))},t.createContentBlockFromJS=function(e){var t=e.characterList;return new _(r({},e,{data:v(e.data),characterList:null!=t?g((Array.isArray(t)?t:f(t)).map(function(e){return i.fromJS(e)})):void 0}))},t}(w)},4092(e,t,n){"use strict";var r=n(3018),o=n(9404).Map;function i(e,t,n,i){var a=e.getBlockMap(),s=t.getStartKey(),l=t.getStartOffset(),u=t.getEndKey(),c=t.getEndOffset(),f=a.skipUntil(function(e,t){return t===s}).takeUntil(function(e,t){return t===u}).concat(o([[u,a.get(u)]])).map(function(e,t){s===u?(o=l,a=c):(o=t===s?l:0,a=t===u?c:e.getLength());for(var o,a,f,p=e.getCharacterList();o0&&window.scrollTo(i.x,i.y+e+10)}else y(r)||m(!1),(e=r.offsetHeight+r.offsetTop-(o.offsetTop+o.offsetHeight+i.y))>0&&l.setTop(o,l.getTop(o)+e+10)}}}},n._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),r=t.getText(),l=this.props.tree.size-1,u=b(this.props.selection,n);return this.props.tree.map(function(p,d){var h=p.get("leaves");if(0===h.size)return null;var g=h.size-1,m=h.map(function(o,c){var f=a.encode(n,d,c),p=o.get("start"),h=o.get("end");return s.createElement(i,{key:f,offsetKey:f,block:t,start:p,selection:u?e.props.selection:null,forceSelection:e.props.forceSelection,text:r.slice(p,h),styleSet:t.getInlineStyleAt(p),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:d===l&&c===g})}).toArray(),y=p.get("decoratorKey");if(null==y||!e.props.decorator)return m;var b=v(e.props.decorator),w=b.getComponentForKey(y);if(!w)return m;var _=b.getPropsForKey(y),S=a.encode(n,d,0),E=h.first().get("start"),k=h.last().get("end"),x=r.slice(E,k),O=t.getEntityAt(p.get("start")),C=f.getHTMLDirIfDifferent(c.getDirection(x),e.props.direction),P={contentState:e.props.contentState,decoratedText:x,dir:C,start:E,end:k,blockKey:n,entityKey:O,offsetKey:S};return s.createElement(w,o({},_,P,{key:S}),m)}).toArray()},n.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,o=p({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return s.createElement("div",{"data-offset-key":r,className:o,ref:function(t){return e._node=t}},this._renderChildren())},t}(s.Component)},2784(e,t,n){"use strict";var r=n(5228);function o(){return(o=r||function(e){for(var t=1;t0&&window.scrollTo(i.x,i.y+e+10)}else y(r)||m(!1),(e=r.offsetHeight+r.offsetTop-(o.offsetHeight+i.y))>0&&c.setTop(o,c.getTop(o)+e+10)}}},n.render=function(){var e=this,n=this.props,r=n.block,a=n.blockRenderMap,c=n.blockRendererFn,f=n.blockStyleFn,p=n.contentState,d=n.decorator,h=n.editorKey,g=n.editorState,m=n.customStyleFn,y=n.customStyleMap,k=n.direction,x=n.forceSelection,O=n.selection,C=n.tree,P=null;r.children.size&&(P=r.children.reduce(function(n,r){var o=l.encode(r,0,0),s=p.getBlockForKey(r),d=S(s,c),m=d.CustomComponent||t,y=_(s,a),v=y.Element,k=y.wrapperTemplate,x=E(s,h,o,f,d,null),O=i({},e.props,{tree:g.getBlockTree(r),blockProps:d.customProps,offsetKey:o,block:s});return n.push(u.createElement(v,x,u.createElement(m,O))),!k||b(s,p)||w(k,v,n),n},[]));var T=r.getKey(),I=l.encode(T,0,0),D=S(r,c),M=D.CustomComponent,L=null!=M?u.createElement(M,o({},this.props,{tree:g.getBlockTree(T),blockProps:D.customProps,offsetKey:I,block:r})):u.createElement(s,{block:r,children:P,contentState:p,customStyleFn:m,customStyleMap:y,decorator:d,direction:k,forceSelection:x,hasSelection:v(O,T),selection:O,tree:C});if(r.getParentKey())return L;var A=_(r,a).Element,R=E(r,h,I,f,D,this.wrapperRef);return u.createElement(A,R,L)},t}(u.Component)},755(e,t,n){"use strict";var r=n(7378),o=n(9938),i=n(3885),a=n(2242),s=n(5852),l=n(4134),u=n(6207),c=n(3564),f=n(120),p=n(9927),d=n(6408),h=l.isBrowser("IE"),g=!1,m=!1,y=null,v={onCompositionStart:function(e){m=!0,y||(y=new r(c(e))).start()},onCompositionEnd:function(e){g=!1,m=!1,setTimeout(function(){g||v.resolveComposition(e)},20)},onSelect:u,onKeyDown:function(e,t){if(!m){v.resolveComposition(e),e._onKeyDown(t);return}(t.which===s.RIGHT||t.which===s.LEFT)&&t.preventDefault()},onKeyPress:function(e,t){t.which===s.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!m){var t=d(y).stopAndFlushMutations();y=null,g=!0;var n=a.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),!t.size)return void e.update(n);var r=n.getCurrentContent();t.forEach(function(e,t){var s=i.decode(t),l=s.blockKey,u=s.decoratorKey,c=s.leafKey,f=n.getBlockTree(l).getIn([u,"leaves",c]),d=f.start,h=f.end,g=n.getSelection().merge({anchorKey:l,focusKey:l,anchorOffset:d,focusOffset:h,isBackward:!1}),m=p(r,g),y=r.getBlockForKey(l).getInlineStyleAt(d);r=o.replaceText(r,g,e,y,m),n=a.set(n,{currentContent:r})});var s=f(n,c(e)).selectionState;e.restoreEditorDOM();var l=h?a.forceSelection(n,s):a.acceptSelection(n,s);e.update(a.push(l,r,"insert-characters"))}}};e.exports=v},3659(e,t,n){"use strict";var r=n(5228);function o(){return(o=r||function(e){for(var t=1;tk,"public/DraftStyleDefault/depth0":0===U,"public/DraftStyleDefault/depth1":1===U,"public/DraftStyleDefault/depth2":2===U,"public/DraftStyleDefault/depth3":3===U,"public/DraftStyleDefault/depth4":U>=4,"public/DraftStyleDefault/listLTR":"LTR"===A,"public/DraftStyleDefault/listRTL":"RTL"===A})));var z=D||i,$={className:H,"data-block":!0,"data-editor":h,"data-offset-key":R,key:P};void 0!==L&&($=function(e){for(var t=1;t0){if(e.props.handleDroppedFiles&&f(e.props.handleDroppedFiles(g,b)))return;l(b,function(t){t&&e.update(h(c,g,t))});return}var w=e._internalDrag?"internal":"external";e.props.handleDrop&&f(e.props.handleDrop(g,n,w))||(e._internalDrag?e.update((m=c,y=g,v=o.moveText(m.getCurrentContent(),m.getSelection(),y),i.push(m,v,"insert-fragment"))):e.update(h(c,g,n.getText()))),d(e)}}}},7784(e,t,n){"use strict";var r=n(4134),o=n(3722),i=n(8058),a=n(7141),s=n(3694),l=n(3919),u=n(6127),c=n(4861),f=n(4447),p=n(5091),d=n(8136),h=n(2208),g=n(6207),m=r.isBrowser("Chrome"),y=r.isBrowser("Firefox"),v=m||y?g:function(e){};e.exports={onBeforeInput:o,onBlur:i,onCompositionStart:a,onCopy:s,onCut:l,onDragOver:u,onDragStart:c,onFocus:f,onInput:p,onKeyDown:d,onPaste:h,onSelect:g,onMouseUp:v,onKeyUp:v}},4576(e,t,n){"use strict";e.exports=n(961).unstable_flushControlled},5203(e,t,n){"use strict";var r=n(5228),o=n(6268),i=n(6540),a=n(646),s=n(2623),l=n(4660).setDraftEditorSelection;e.exports=function(e){function t(){for(var t,n,r,o,i=arguments.length,a=Array(i),s=0;s0)return" "+e}else if(t3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",o=h(d(e,t),t);return u(o,o.getSelectionAfter(),n,r)},removeRange:function(e,t,n){t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),r=t.getAnchorKey(),o=t.getFocusKey(),i=e.getBlockForKey(r);var r,o,i,s=e.getBlockForKey(o),l=t.getStartOffset(),u=t.getEndOffset(),c=i.getEntityAt(l),f=s.getEntityAt(u-1);if(r===o&&c&&c===f){var p=a(e.getEntityMap(),i,s,t,n);return h(e,p)}return h(d(e,t),t)},splitBlock:function(e,t){var n=h(d(e,t),t);return g(n,n.getSelectionAfter())},applyInlineStyle:function(e,t,n){return o.add(e,t,n)},removeInlineStyle:function(e,t,n){return o.remove(e,t,n)},setBlockType:function(e,t,n){return p(e,t,function(e){return e.merge({type:n,depth:0})})},setBlockData:function(e,t,n){return p(e,t,function(e){return e.merge({data:n})})},mergeBlockData:function(e,t,n){return p(e,t,function(e){return e.merge({data:e.getData().merge(n)})})},applyEntity:function(e,t,n){return i(d(e,t),t,n)}};e.exports=y},3885(e){"use strict";e.exports={encode:function(e,t,n){return e+"-"+t+"-"+n},decode:function(e){var t=e.split("-").reverse(),n=t[0],r=t[1];return{blockKey:t.slice(2).reverse().join("-"),decoratorKey:parseInt(r,10),leafKey:parseInt(n,10)}}}},46(e,t,n){"use strict";var r=n(6840),o=n(5224),i=n(4712),a=n(6991),s=n(9248),l=n(7282),u=n(9404),c=n(1721),f=u.List,p=u.Repeat,d=l("draft_tree_data_support"),h=d?o:r;e.exports={processHTML:function(e,t){return i(e,s,t)},processText:function(e,t,n){return e.reduce(function(e,r,o){r=c(r);var i=a(),s={key:i,type:n,text:r,characterList:f(p(t,r.length))};if(d&&0!==o){var l=o-1;s=function(e){for(var t=1;t0)||(delete t.children,n.push(t))}),e.blocks=n,r({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach(function(e){var i=s(e),a=e.depth||0,l=r({},e,{children:[]});if(!i)return void t.push(l);var u=n[0];if(null==u&&0===a)t.push(l);else if(null==u||u.depth=a;)n.shift(),u=n[0];a>0?u.children.push(l):t.push(l)}}),r({},e,{blocks:t})}}},2490(e,t,n){"use strict";n(4594),e.exports={isValidBlock:function(e,t){var n=e.getKey(),r=e.getParentKey();if(null!=r&&!t.get(r).getChildKeys().includes(n)||!e.getChildKeys().map(function(e){return t.get(e)}).every(function(e){return e.getParentKey()===n}))return!1;var o=e.getPrevSiblingKey();if(null!=o&&t.get(o).getNextSiblingKey()!==n)return!1;var i=e.getNextSiblingKey();return(null==i||t.get(i).getPrevSiblingKey()===n)&&(null===i||null===o||o!==i)&&(""==e.text||!(e.getChildKeys().size>0))},isConnectedTree:function(e){var t=e.toArray().filter(function(e){return null==e.getParentKey()&&null==e.getPrevSiblingKey()});if(1!==t.length)return!1;for(var n=t.shift(),r=0,o=n.getKey(),i=[];null!=o;){var a=e.get(o),s=a.getChildKeys(),l=a.getNextSiblingKey();if(s.size>0){null!=l&&i.unshift(l);var u=s.map(function(t){return e.get(t)}).find(function(e){return null==e.getPrevSiblingKey()});if(null==u)return!1;o=u.getKey()}else o=null!=a.getNextSiblingKey()?a.getNextSiblingKey():i.shift();r++}return r===e.size},isValidTree:function(e){var t=this;return!!e.toArray().every(function(n){return t.isValidBlock(n,e)})&&this.isConnectedTree(e)}}},3914(e,t,n){"use strict";var r,o=n(1708),i=n(9404),a=n(6408),s=i.OrderedMap;e.exports={getDirectionMap:function(e,t){r?r.reset():r=new o;var n=e.getBlockMap(),l=n.valueSeq().map(function(e){return a(r).getDirection(e.getText())}),u=s(n.keySeq().zip(l));return null!=t&&i.is(t,u)?t:u}}},2242(e,t,n){"use strict";function r(e){for(var t=1;t0?o.getInlineStyleAt(r-1):o.getLength()?o.getInlineStyleAt(0):b(e,n)):(i=f,s=(a=p).getStartKey(),l=a.getStartOffset(),l<(u=i.getBlockForKey(s)).getLength()?u.getInlineStyleAt(l):l>0?u.getInlineStyleAt(l-1):b(i,s))},e.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},e.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},e.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent().getBlockMap().last(),t=e.getLength();return this.getSelection().hasEdgeWithin(e.getKey(),t,t)},e.getDirectionMap=function(){return this.getImmutable().get("directionMap")},t.acceptSelection=function(e,t){return y(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),y(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),o=n.getLength();return t.acceptSelection(e,new l({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,r){var o,i,a=!(arguments.length>3)||void 0===arguments[3]||arguments[3];if(e.getCurrentContent()===n)return e;var l=s.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:l,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:a,inlineStyleOverride:null});var u=e.getSelection(),c=e.getCurrentContent(),f=e.getUndoStack(),d=n;u!==c.getSelectionAfter()||(o=e,(i=r)!==o.getLastChangeType()||"insert-characters"!==i&&"backspace-character"!==i&&"delete-character"!==i)?(f=f.push(c),d=d.set("selectionBefore",u)):("insert-characters"===r||"backspace-character"===r||"delete-character"===r)&&(d=d.set("selectionBefore",c.getSelectionBefore()));var h=e.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(r)&&(h=null);var g={currentContent:d,directionMap:l,undoStack:f,redoStack:p(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:a,inlineStyleOverride:h};return t.set(e,g)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),r=n.peek();if(!r)return e;var o=e.getCurrentContent(),i=s.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:e.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),r=n.peek();if(!r)return e;var o=e.getCurrentContent(),i=s.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:i,undoStack:e.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function y(e,t,n){return m.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function v(e,t){return e.getBlockMap().map(function(n){return i.generate(e,n,t)}).toOrderedMap()}function b(e,t){var n=e.getBlockMap().reverse().skipUntil(function(e,n){return n===t}).skip(1).skipUntil(function(e,t){return e.getLength()}).first();return n?n.getInlineStyleAt(n.getLength()-1):c()}e.exports=m},9414(e,t,n){"use strict";var r=n(4134),o=n(3174),i=r.isPlatform("Mac OS X"),a={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return i&&e.altKey},usesMacOSHeuristics:function(){return i},hasCommandModifier:function(e){return i?!!e.metaKey&&!e.altKey:a.isCtrlKeyCommand(e)},isSoftNewlineEvent:o};e.exports=a},6429(){},7018(e,t,n){"use strict";var r=n(9938),o=n(2242),i=n(286),a=n(6408),s={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some(function(e){var t=e.getEntity();return!!t&&"LINK"===r.__get(t).getType()})},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t,n){switch(t){case"bold":return s.toggleInlineStyle(e,"BOLD");case"italic":return s.toggleInlineStyle(e,"ITALIC");case"underline":return s.toggleInlineStyle(e,"UNDERLINE");case"code":return s.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=r.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=o.push(e,t,"insert-characters");return o.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var a=n.getBlockMap().delete(i.getKey()),l=n.merge({blockMap:a,selectionAfter:t});if(l!==n)return o.push(e,l,"remove-range")}var u=s.tryToRemoveBlockStyle(e);return u?o.push(e,u,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),i=t.getStartKey(),a=n.getBlockForKey(i).getLength();if(t.getStartOffset()=s},n.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},n.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},n.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},n.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},n.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},t.createEmpty=function(e){return new t({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},t}((0,n(9404).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}))},286(e){"use strict";e.exports=function(e,t,n,r){var o=t.getStartKey(),i=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil(function(e,t){return t===o}).takeUntil(function(e,t){return t===i}).concat([[i,a.get(i)]]).map(function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,r)),e.set("depth",t)});return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})}},1952(e,t,n){"use strict";var r=n(3018);e.exports=function(e,t,n,o){for(var i=t,a=e.getCharacterList();i1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(R).some(function(n){e.classList.contains(n)&&(t=R[n])}),t},F=function(e){if(!w(e)||!e.href||"http:"!==e.protocol&&"https:"!==e.protocol&&"mailto:"!==e.protocol&&"tel:"!==e.protocol)return!1;try{return new f(e.href),!0}catch(e){return!1}},U=function(e,t){if(!S(e))return t;var n=e.style.fontWeight,r=e.style.fontStyle,o=e.style.textDecoration;return t.withMutations(function(e){D.indexOf(n)>=0?e.add("BOLD"):M.indexOf(n)>=0&&e.remove("BOLD"),"italic"===r?e.add("ITALIC"):"normal"===r&&e.remove("ITALIC"),"underline"===o&&e.add("UNDERLINE"),"line-through"===o&&e.add("STRIKETHROUGH"),"none"===o&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))})},H=function(e){return"ul"===e||"ol"===e},z=function(){function e(e,t){o(this,"characterList",y()),o(this,"currentBlockType","unstyled"),o(this,"currentDepth",0),o(this,"currentEntity",null),o(this,"currentText",""),o(this,"wrapper",null),o(this,"blockConfigs",[]),o(this,"contentBlocks",[]),o(this,"entityMap",c),o(this,"blockTypeMap",void 0),o(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=y(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=c,this.wrapper=null,this.contentBlocks=[]},t.addDOMNode=function(e){var t;return this.contentBlocks=[],this.currentDepth=0,(t=this.blockConfigs).push.apply(t,this._toBlockConfigs([e],b())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(k?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},t._makeBlockConfig=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r({key:e.key||d(),type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:y(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=y(),this.currentBlockType="unstyled",this.currentText="",t},t._toBlockConfigs=function(e,t){for(var n=[],r=0;r(n=void 0!==(r=this.characterList.reverse().findEntry(function(e){return null!==e.getEntity()}))?Math.max(n,e-r[0]):n)?(this.currentText="",this.characterList=y()):(this.currentText=this.currentText.slice(t,n),this.characterList=this.characterList.slice(t,n))},t._addTextNode=function(e,t){var n=e.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(C,"")).replace(O," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){_(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(E(e)){var n={};A.forEach(function(t){var r=e.getAttribute(t);r&&(n[t]=r)}),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",n),g("draftjs_fix_paste_for_img")?"presentation"!==e.getAttribute("role")&&this._appendText("\uD83D\uDCF7",t):this._appendText("\uD83D\uDCF7",t),this.currentEntity=null}},t._addAnchorNode=function(e,t,n){if(w(e)){var r={};L.forEach(function(t){var n=e.getAttribute(t);n&&(r[t]=n)}),r.url=new f(e.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",r||{}),t.push.apply(t,this._toBlockConfigs(Array.from(e.childNodes),n)),this.currentEntity=null}},t._toContentBlocks=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.length-1,o=0;o<=n;o++){var i=e[o];i.parent=t,i.prevSibling=o>0?e[o-1].key:null,i.nextSibling=o1&&void 0!==arguments[1]?arguments[1]:h,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u,r=t(e=e.trim().replace(x,"").replace(P," ").replace(T,"").replace(I,""));return r?new z(j(n),function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null}).addDOMNode(r).getContentBlocks():null}},428(e,t,n){"use strict";function r(e){for(var t=1;t0}),s=y&&!a?l.fromRawStateToRawTreeState(e).blocks:e.blocks;return y?s.map(E).reduce(function(e,n,o){Array.isArray(n.children)||m(!1);var a=n.children.map(E),l=new i(r({},_(n,t),{prevSibling:0===o?null:s[o-1].key,nextSibling:o===s.length-1?null:s[o+1].key,children:v(a.map(function(e){return e.key}))}));e=e.set(l.getKey(),l);for(var u=k([],a,l);u.length>0;){var c=u.pop(),f=c.parentRef,p=f.getChildKeys(),d=p.indexOf(c.key),h=Array.isArray(c.children);if(!h){h||m(!1);break}var g=c.children.map(E),y=new i(r({},_(c,t),{parent:f.getKey(),children:v(g.map(function(e){return e.key})),prevSibling:0===d?null:p.get(d-1),nextSibling:d===p.size-1?null:p.get(d+1)}));e=e.set(y.getKey(),y),u=k(u,g,y)}return e},w()):(n=a?l.fromRawTreeStateToRawState(e).blocks:s,w(n.map(function(e){var n=new o(_(e,t));return[n.getKey(),n]})))},O=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach(function(e){var r=t[e],o=r.type,i=r.mutability,a=r.data;n[e]=s.__create(o,i,a||{})}),n};e.exports=function(e){Array.isArray(e.blocks)||m(!1);var t=O(e),n=x(e,t),r=n.isEmpty()?new u:u.createEmpty(n.first().getKey());return new a({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})}},803(e,t,n){"use strict";var r=n(3018),o=n(9404).List;e.exports=function(e,t){return o(e.map(function(e,n){var o=t[n];return r.create({style:e,entity:o})}))}},2401(e,t,n){"use strict";var r=n(580).substr;e.exports=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach(function(t){for(var o=r(e,0,t.offset).length,i=o+r(e,t.offset,t.length).length,a=o;a=d?r.length:0),a=t.get("end"),s=a+(a>=d?r.length:0),l=n.get("start"),u=n.get("end"),c=n.get("decoratorKey");return t.get("decoratorKey")!==c||t.get("leaves").size!==n.get("leaves").size||i!==l||s!==u||null!=c&&u-l!=a-o})}if(m||(m=f&&("'"==r||"/"==r)),m||(m=u(g.getDirectionMap()).get(h)!==u(n.getDirectionMap()).get(h)),m){t.preventDefault(),g=o.set(g,{forceSelection:!0}),e.update(g);return}e._pendingStateFromBeforeInput=g=o.set(g,{nativelyRenderedContent:g.getCurrentContent()}),c(function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)})}}},8058(e,t,n){"use strict";var r=n(2242),o=n(4909),i=n(9758);e.exports=function(e,t){var n=t.currentTarget.ownerDocument;if(!e.props.preserveSelectionOnBlur&&i(n)===n.body){var a=n.defaultView.getSelection(),s=e.editor;1===a.rangeCount&&o(s,a.anchorNode)&&o(s,a.focusNode)&&a.removeAllRanges()}var l=e._latestEditorState,u=l.getSelection();if(u.getHasFocus()){var c=u.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(r.acceptSelection(l,c))}}},7141(e,t,n){"use strict";var r=n(2242);e.exports=function(e,t){e.setMode("composite"),e.update(r.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)}},3694(e,t,n){"use strict";var r=n(1296);e.exports=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(r(e._latestEditorState))}},3919(e,t,n){"use strict";var r=n(9938),o=n(2242),i=n(2935),a=n(1296),s=n(7392),l=n(4316);e.exports=function(e,t){var n,u=e._latestEditorState,c=u.getSelection(),f=t.target;if(c.isCollapsed())return void t.preventDefault();l(f)&&(n=s(i.getScrollParent(f)));var p=a(u);e.setClipboard(p),e.setMode("cut"),setTimeout(function(){var t,i;e.restoreEditorDOM(n),e.exitCurrentMode(),e.update((t=u,i=r.removeRange(t.getCurrentContent(),t.getSelection(),"forward"),o.push(t,i,"remove-range")))},0)}},6127(e){"use strict";e.exports=function(e,t){e.setMode("drag"),t.preventDefault()}},4861(e){"use strict";e.exports=function(e){e._internalDrag=!0,e.setMode("drag")}},4447(e,t,n){"use strict";var r=n(2242),o=n(4134);e.exports=function(e,t){var n=e._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var a=i.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),o.isBrowser("Chrome < 60.0.3081.0")?e.update(r.forceSelection(n,a)):e.update(r.acceptSelection(n,a))}}},5091(e,t,n){"use strict";var r=n(9938),o=n(3885),i=n(2242),a=n(4134),s=n(1103).notEmptyKey,l=n(8372),u=n(7381),c=n(6408),f=a.isEngine("Gecko");e.exports=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),a=n.anchorNode,p=n.isCollapsed,d=(null==a?void 0:a.nodeType)!==Node.TEXT_NODE&&(null==a?void 0:a.nodeType)!==Node.ELEMENT_NODE;if(null!=a&&!d){if(a.nodeType===Node.TEXT_NODE&&(null!==a.previousSibling||null!==a.nextSibling)){var h=a.parentNode;if(null==h)return;a.nodeValue=h.textContent;for(var g=h.firstChild;null!=g;g=g.nextSibling)g!==a&&h.removeChild(g)}var m=a.textContent,y=e._latestEditorState,v=c(l(a)),b=o.decode(v),w=b.blockKey,_=b.decoratorKey,S=b.leafKey,E=y.getBlockTree(w).getIn([_,"leaves",S]),k=E.start,x=E.end,O=y.getCurrentContent(),C=O.getBlockForKey(w),P=C.getText().slice(k,x);if(m.endsWith("\n\n")&&(m=m.slice(0,-1)),m===P){var T=t.nativeEvent.inputType;if(T){var I,D,M,L,A="deleteContentBackward"===T?u(y):y;A!==y&&(e.restoreEditorDOM(),e.update(A))}return}var R=y.getSelection(),N=R.merge({anchorOffset:k,focusOffset:x,isBackward:!1}),j=C.getEntityAt(k),B=s(j)?O.getEntity(j):null,F="MUTABLE"===(null!=B?B.getMutability():null),U=r.replaceText(O,N,m,C.getInlineStyleAt(k),F?C.getEntityAt(k):null);if(f)L=(M=k+Math.min(I=n.anchorOffset,D=n.focusOffset))+Math.abs(I-D),I=M,D=L;else{var H=m.length-P.length;M=R.getStartOffset(),L=R.getEndOffset(),I=p?L+H:M,D=L+H}var z=U.merge({selectionBefore:O.getSelectionAfter(),selectionAfter:R.merge({anchorOffset:I,focusOffset:D})});e.update(i.push(y,z,F?"spellcheck-change":"apply-entity"))}}},8136(e,t,n){"use strict";var r=n(9938),o=n(2242),i=n(9414),a=n(5852),s=n(5170),l=n(4134),u=n(3680),c=n(8771),f=n(4143),p=n(525),d=n(4071),h=n(5169),g=n(7689),m=n(7381),y=n(2383),v=n(5935),b=n(8976),w=i.isOptionKeyCommand,_=l.isBrowser("Chrome");e.exports=function(e,t){var n=t.which,i=e._latestEditorState;function l(n){var r=e.props[n];return!!r&&(r(t),!0)}switch(n){case a.RETURN:if(t.preventDefault(),e.props.handleReturn&&u(e.props.handleReturn(t,i)))return;break;case a.ESC:if(t.preventDefault(),l("onEscape"))return;break;case a.TAB:if(l("onTab"))return;break;case a.UP:if(l("onUpArrow"))return;break;case a.RIGHT:if(l("onRightArrow"))return;break;case a.DOWN:if(l("onDownArrow"))return;break;case a.LEFT:if(l("onLeftArrow"))return;break;case a.SPACE:_&&w(t)&&t.preventDefault()}var S=e.props.keyBindingFn(t);if(null==S||""===S){if(n===a.SPACE&&_&&w(t)){var E=r.replaceText(i.getCurrentContent(),i.getSelection(),"\xa0");e.update(o.push(i,E,"insert-characters"))}return}if("undo"===S)return void b(t,i,e.update);if(t.preventDefault(),!(e.props.handleKeyCommand&&u(e.props.handleKeyCommand(S,i,t.timeStamp)))){var k=function(e,t,n){switch(e){case"redo":return o.redo(t);case"delete":return y(t);case"delete-word":return p(t);case"backspace":return m(t);case"backspace-word":return f(t);case"backspace-to-start-of-line":return c(t,n);case"split-block":return d(t);case"transpose-characters":return v(t);case"move-selection-to-start-of-block":return g(t);case"move-selection-to-end-of-block":return h(t);case"secondary-cut":return s.cut(t);case"secondary-paste":return s.paste(t);default:return t}}(S,i,t);k!==i&&e.update(k)}}},2208(e,t,n){"use strict";var r=n(5748),o=n(3018),i=n(2395),a=n(9938),s=n(46),l=n(2242),u=n(7018),c=n(9927),f=n(723),p=n(3680),d=n(3676);function h(e,t,n){var r=a.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return l.push(e,r.set("entityMap",n),"insert-fragment")}e.exports=function(e,t){t.preventDefault();var n=new i(t.clipboardData);if(!n.isRichText()){var g=n.getFiles(),m=n.getText();if(g.length>0){if(e.props.handlePastedFiles&&p(e.props.handlePastedFiles(g)))return;f(g,function(t){if(t=t||m){var n=e._latestEditorState,i=d(t),f=o.create({style:n.getCurrentInlineStyle(),entity:c(n.getCurrentContent(),n.getSelection())}),p=u.getCurrentBlockType(n),h=s.processText(i,f,p),g=r.createFromArray(h),y=a.replaceWithFragment(n.getCurrentContent(),n.getSelection(),g);e.update(l.push(n,y,"insert-fragment"))}});return}}var y=[],v=n.getText(),b=n.getHTML(),w=e._latestEditorState;if(e.props.formatPastedText){var _=e.props.formatPastedText(v,b),S=_.text,E=_.html;v=S,b=E}if(!(e.props.handlePastedText&&p(e.props.handlePastedText(v,b,w)))){if(v&&(y=d(v)),!e.props.stripPastedStyles){var k,x,O,C=e.getClipboard();if(!e.props.formatPastedText&&n.isRichText()&&C){if((null==(O=b)?void 0:O.indexOf(e.getEditorKey()))!==-1||1===y.length&&1===C.size&&C.first().getText()===v)return void e.update(h(e._latestEditorState,C))}else{if(C&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&(k=y,x=C,k.length===x.size&&x.valueSeq().every(function(e,t){return e.getText()===k[t]})))return void e.update(h(e._latestEditorState,C))}if(b){var P=s.processHTML(b,e.props.blockRenderMap);if(P){var T=P.contentBlocks,I=P.entityMap;if(T){var D=r.createFromArray(T);e.update(h(e._latestEditorState,D,I));return}}}e.setClipboard(null)}if(y.length){var M=o.create({style:w.getCurrentInlineStyle(),entity:c(w.getCurrentContent(),w.getSelection())}),L=u.getCurrentBlockType(w),A=s.processText(y,M,L),R=r.createFromArray(A);e.update(h(e._latestEditorState,R))}}}},6207(e,t,n){"use strict";var r=n(7204),o=n(2242),i=n(3564),a=n(120);e.exports=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();r.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:Error().stack}),selectionState:JSON.stringify(t.toJS())})}return}var n=e.props.editorState,s=a(n,i(e)),l=s.selectionState;l!==n.getSelection()&&(n=s.needsRecovery?o.forceSelection(n,l):o.acceptSelection(n,l),e.update(n))}},5481(e,t,n){"use strict";var r=n(1439),o=n(580).strlen;e.exports=function(e,t){var n=[];return e.findEntityRanges(function(e){return!!e.getEntity()},function(i,a){var s=e.getText(),l=e.getEntityAt(i);n.push({offset:o(s.slice(0,i)),length:o(s.slice(i,a)),key:Number(t[r.stringify(l)])})}),n}},702(e,t,n){"use strict";var r=n(580),o=n(8227),i=function(e,t){return e===t},a=function(e){return!!e},s=[];e.exports=function(e){var t=e.getCharacterList().map(function(e){return e.getStyle()}).toList(),n=t.flatten().toSet().map(function(n){var s;return s=[],o(t.map(function(e){return e.has(n)}).toList(),i,a,function(t,o){var i=e.getText();s.push({offset:r.strlen(i.slice(0,t)),length:r.strlen(i.slice(t,o)),style:n})}),s});return Array.prototype.concat.apply(s,n.toJS())}},5989(e,t,n){"use strict";var r=n(580),o=n(9677),i=n(5377),a=n(646);function s(e,t){for(var n=1/0,r=1/0,o=-1/0,i=-1/0,a=0;a=0;b--)if(!(null!=v&&b>0&&r.isSurrogatePair(v,b-1)))if(e.setStart(m,b),s(i(e),d))h=m,g=b;else break;if(-1===b||0===m.childNodes.length)break;y=function(e){switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return e.length;default:return e.childNodes.length}}(m=m.childNodes[b])}return e.setStart(h,g),e}},8372(e,t,n){"use strict";var r=n(9677),o=n(4453);e.exports=function(e){for(var t=e;t&&t!==r(e).documentElement;){var n=o(t);if(null!=n)return n;t=t.parentNode}return null}},8227(e){"use strict";e.exports=function(e,t,n,r){if(e.size){var o=0;e.reduce(function(e,i,a){return t(e,i)||(n(e)&&r(o,a),o=a),i}),n(e.last())&&r(o,e.count())}}},6991(e){"use strict";var t={};e.exports=function(){for(var e;void 0===e||t.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(0x1000000*Math.random()).toString(32);return t[e]=!0,e}},508(e,t,n){"use strict";var r=n(8382),o=n(9311),i=n(646);function a(e,t,n,a,s,l,u){var c=n.getStartOffset(),f=n.getEndOffset(),p=e.__get(s).getMutability(),d=u?c:f;if("MUTABLE"===p)return n;var h=o(t,s).filter(function(e){return d<=e.end&&d>=e.start});1!=h.length&&i(!1);var g=h[0];if("IMMUTABLE"===p)return n.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1});l||(u?f=g.end:c=g.start);var m=r.getRemovalRange(c,f,t.getText().slice(g.start,g.end),g.start,a);return n.merge({anchorOffset:m.start,focusOffset:m.end,isBackward:!1})}e.exports=function(e,t,n,r,o){var i=r.getStartOffset(),s=r.getEndOffset(),l=t.getEntityAt(i),u=n.getEntityAt(s-1);if(!l&&!u)return r;var c=r;if(l&&l===u)c=a(e,t,c,o,l,!0,!0);else if(l&&u){var f=a(e,t,c,o,l,!1,!0),p=a(e,n,c,o,u,!1,!1);c=c.merge({anchorOffset:f.getAnchorOffset(),focusOffset:p.getFocusOffset(),isBackward:!1})}else if(l){var d=a(e,t,c,o,l,!1,!0);c=c.merge({anchorOffset:d.getStartOffset(),isBackward:!1})}else if(u){var h=a(e,n,c,o,u,!1,!1);c=c.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return c}},3564(e,t,n){"use strict";var r=n(646),o=n(5291);e.exports=function(e){var t=e.editorContainer;return t||r(!1),o(t.firstChild)||r(!1),t.firstChild}},866(e,t,n){"use strict";var r=n(3310),o=n(6044);e.exports=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=o(e,t).getBlockMap(),u=l.keySeq(),c=u.indexOf(n),f=u.indexOf(a)+1;return r(l.slice(c,f).map(function(e,t){var r=e.getText(),o=e.getCharacterList();return n===a?e.merge({text:r.slice(i,s),characterList:o.slice(i,s)}):t===n?e.merge({text:r.slice(i),characterList:o.slice(i)}):t===a?e.merge({text:r.slice(0,s),characterList:o.slice(0,s)}):e}))}},9677(e){"use strict";e.exports=function(e){return e&&e.ownerDocument?e.ownerDocument:document}},7811(e,t,n){"use strict";var r=n(9414),o=n(5852),i=n(4134),a=i.isPlatform("Mac OS X"),s=a&&i.isBrowser("Firefox < 29"),l=r.hasCommandModifier,u=r.isCtrlKeyCommand;function c(e){return a&&e.altKey||u(e)}e.exports=function(e){switch(e.keyCode){case 66:return l(e)?"bold":null;case 68:return u(e)?"delete":null;case 72:return u(e)?"backspace":null;case 73:return l(e)?"italic":null;case 74:return l(e)?"code":null;case 75:return a&&u(e)?"secondary-cut":null;case 77:case 79:return u(e)?"split-block":null;case 84:return a&&u(e)?"transpose-characters":null;case 85:return l(e)?"underline":null;case 87:return a&&u(e)?"backspace-word":null;case 89:if(u(e))return a?"secondary-paste":"redo";return null;case 90:return(l(e)?e.shiftKey?"redo":"undo":null)||null;case o.RETURN:return"split-block";case o.DELETE:return!a&&e.shiftKey?null:c(e)?"delete-word":"delete";case o.BACKSPACE:return l(e)&&a?"backspace-to-start-of-line":c(e)?"backspace-word":"backspace";case o.LEFT:return s&&l(e)?"move-selection-to-start-of-block":null;case o.RIGHT:return s&&l(e)?"move-selection-to-end-of-block":null;default:return null}}},120(e,t,n){"use strict";var r=n(9215);e.exports=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),o=n.anchorNode,i=n.anchorOffset,a=n.focusNode,s=n.focusOffset;return 0===n.rangeCount||null==o||null==a?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:r(e,t,o,i,a,s)}},9215(e,t,n){"use strict";var r=n(8372),o=n(4453),i=n(9450),a=n(646),s=n(3816),l=n(6408);function u(e,t,n){var i=t,u=r(i);if(null!=u||e&&(e===i||e.firstChild===i)||a(!1),e===i&&(s(i=i.firstChild)||a(!1),"true"!==i.getAttribute("data-contents")&&a(!1),n>0&&(n=i.childNodes.length)),0===n){var f=null;if(null!=u)f=u;else{var p=function(e){for(;e.firstChild&&(s(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||o(e.firstChild));)e=e.firstChild;return e}(i);f=l(o(p))}return{key:f,offset:0}}var d=i.childNodes[n-1],h=null,g=null;if(o(d)){var m=function(e){for(;e.lastChild&&(s(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||o(e.lastChild));)e=e.lastChild;return e}(d);h=l(o(m)),g=c(m)}else h=l(u),g=c(d);return{key:h,offset:g}}function c(e){var t=e.textContent;return"\n"===t?0:t.length}e.exports=function(e,t,n,o,a,s){var c=n.nodeType===Node.TEXT_NODE,f=a.nodeType===Node.TEXT_NODE;if(c&&f)return{selectionState:i(e,l(r(n)),o,l(r(a)),s),needsRecovery:!1};var p=null,d=null,h=!0;return c?(p={key:l(r(n)),offset:o},d=u(t,a,s)):f?(d={key:l(r(a)),offset:s},p=u(t,n,o)):(p=u(t,n,o),d=u(t,a,s),n===a&&o===s&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:i(e,p.key,p.offset,d.key,d.offset),needsRecovery:h}}},9927(e,t,n){"use strict";var r=n(1103).notEmptyKey;function o(e,t){return r(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}e.exports=function(e,t){if(t.isCollapsed()){var n,r=t.getAnchorKey(),i=t.getAnchorOffset();return i>0?(n=e.getBlockForKey(r).getEntityAt(i-1))!==e.getBlockForKey(r).getEntityAt(i)?null:o(e.getEntityMap(),n):null}var a=t.getStartKey(),s=t.getStartOffset(),l=e.getBlockForKey(a);return n=s===l.getLength()?null:l.getEntityAt(s),o(e.getEntityMap(),n)}},1296(e,t,n){"use strict";var r=n(866);e.exports=function(e){var t=e.getSelection();return t.isCollapsed()?null:r(e.getCurrentContent(),t)}},7376(e,t,n){"use strict";var r=n(5224);e.exports=function(e,t){if(!(e instanceof r))return null;var n=e.getNextSiblingKey();if(n)return n;var o=e.getParentKey();if(!o)return null;for(var i=t.get(o);i&&!i.getNextSiblingKey();){var a=i.getParentKey();i=a?t.get(a):null}return i?i.getNextSiblingKey():null}},679(e){"use strict";e.exports=function(e){return Object.keys(e).map(function(t){return e[t]})}},4658(e,t,n){"use strict";var r=n(5377);e.exports=function(e){var t=r(e),n=0,o=0,i=0,a=0;if(t.length){if(t.length>1&&0===t[0].width){var s=t[1];n=s.top,o=s.right,i=s.bottom,a=s.left}else{var l=t[0];n=l.top,o=l.right,i=l.bottom,a=l.left}for(var u=1;u6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",l=n.get(o),u=l.getText(),c=l.getCharacterList(),f=i+r.getText().length,p=null;switch(s){case"MERGE_OLD_DATA_TO_NEW_DATA":p=r.getData().merge(l.getData());break;case"REPLACE_WITH_NEW_DATA":p=r.getData()}var d=l.getType();u&&"unstyled"===d&&(d=r.getType());var h=l.merge({text:u.slice(0,i)+r.getText()+u.slice(i),characterList:a(c,r.getCharacterList(),i),type:d,data:p});return e.merge({blockMap:n.set(o,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:o,anchorOffset:f,focusKey:o,focusOffset:f,isBackward:!1})})},f=function(e,t,n){var r=e.getText(),o=e.getCharacterList(),i=r.slice(0,t),a=o.slice(0,t),s=n.first();return e.merge({text:i+s.getText(),characterList:a.concat(s.getCharacterList()),type:i?e.getType():s.getType(),data:s.getData()})},p=function(e,t,n){var r=e.getText(),o=e.getCharacterList(),i=r.length,a=r.slice(t,i),s=o.slice(t,i),l=n.last();return l.merge({text:l.getText()+a,characterList:l.getCharacterList().concat(s),data:l.getData()})},d=function(e,t){var n=e.getKey(),r=e,o=[];for(t.get(n)&&o.push(n);r&&r.getNextSiblingKey();){var i=r.getNextSiblingKey();if(!i)break;o.push(i),r=t.get(i)}return o},h=function(e,t,n,i,a,s){var l,c=n.first()instanceof o,h=[],g=i.size,m=n.get(a),y=i.first(),v=i.last(),b=v.getLength(),w=v.getKey(),_=c&&(!m.getChildKeys().isEmpty()||!y.getChildKeys().isEmpty());n.forEach(function(e,t){t!==a?h.push(e):(_?h.push(e):h.push(f(e,s,i)),i.slice(+!_,g-1).forEach(function(e){return h.push(e)}),h.push(p(e,s,i)))});var S=r.createFromArray(h);return c&&(S=(l=S).withMutations(function(e){var t=m.getKey(),n=y.getKey(),r=m.getNextSiblingKey(),o=m.getParentKey(),i=d(y,l),a=i[i.length-1];if(e.get(n)?(e.setIn([t,"nextSibling"],n),e.setIn([n,"prevSibling"],t)):(e.setIn([t,"nextSibling"],y.getNextSiblingKey()),e.setIn([y.getNextSiblingKey(),"prevSibling"],t)),e.setIn([a,"nextSibling"],r),r&&e.setIn([r,"prevSibling"],a),i.forEach(function(t){return e.setIn([t,"parent"],o)}),o){var s=l.get(o).getChildKeys(),c=s.indexOf(t),f=s.toArray();f.splice.apply(f,[c+1,0].concat(i)),e.setIn([o,"children"],u(f))}})),e.merge({blockMap:S,selectionBefore:t,selectionAfter:t.merge({anchorKey:w,anchorOffset:b,focusKey:w,focusOffset:b,isBackward:!1})})};e.exports=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||s(!1);var i=e.getBlockMap(),a=l(n),u=t.getStartKey(),f=t.getStartOffset(),p=i.get(u);return(p instanceof o&&(p.getChildKeys().isEmpty()||s(!1)),1===a.size)?c(e,t,i,a.first(),u,f,r):h(e,t,i,a,u,f)}},6269(e){"use strict";e.exports=function(e,t,n){var r=e;if(n===r.count())t.forEach(function(e){r=r.push(e)});else if(0===n)t.reverse().forEach(function(e){r=r.unshift(e)});else{var o=r.slice(0,n),i=r.slice(n);r=o.concat(t,i).toList()}return r}},3136(e,t,n){"use strict";var r=n(9404),o=n(6269),i=n(646),a=r.Repeat;e.exports=function(e,t,n,r){t.isCollapsed()||i(!1);var s=null;if(null!=n&&(s=n.length),null==s||0===s)return e;var l=e.getBlockMap(),u=t.getStartKey(),c=t.getStartOffset(),f=l.get(u),p=f.getText(),d=f.merge({text:p.slice(0,c)+n+p.slice(c,f.getLength()),characterList:o(f.getCharacterList(),a(r,s).toList(),c)}),h=c+s;return e.merge({blockMap:l.set(u,d),selectionAfter:t.merge({anchorOffset:h,focusOffset:h})})}},3816(e){"use strict";e.exports=function(e){return!!e&&!!e.ownerDocument&&e.nodeType===Node.ELEMENT_NODE}},3680(e){"use strict";e.exports=function(e){return"handled"===e||!0===e}},316(e,t,n){"use strict";var r=n(3816);e.exports=function(e){return!!e&&!!e.ownerDocument&&r(e)&&"A"===e.nodeName}},2623(e,t,n){"use strict";var r=n(3816);e.exports=function(e){return!!e&&!!e.ownerDocument&&r(e)&&"BR"===e.nodeName}},5291(e){"use strict";e.exports=function(e){return!!e&&!!e.ownerDocument&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)}},7296(e,t,n){"use strict";var r=n(3816);e.exports=function(e){return!!e&&!!e.ownerDocument&&r(e)&&"IMG"===e.nodeName}},4316(e){"use strict";e.exports=function(e){if(!e||!("ownerDocument"in e))return!1;if("ownerDocument"in e){if(!e.ownerDocument.defaultView)return e instanceof Node;if(e instanceof e.ownerDocument.defaultView.Node)return!0}return!1}},7759(e){"use strict";e.exports=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),o=t.getStartOffset(),i=!1;return r.some(function(e){return o===e.get("start")?(i=!0,!0):oi){var l=r.getKeyBefore(o);null==l?a=o:(a=l,s=r.getBlockForKey(l).getText().length)}else s=i-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}},7800(e,t,n){"use strict";n(4594),e.exports=function(e,t){var n,r=e.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=e.getCurrentContent(),s=o;return t>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),n=0):n=i+t,r.merge({focusKey:s,focusOffset:n})}},3310(e,t,n){"use strict";var r=n(5224),o=n(6991),i=n(9404).OrderedMap,a=function(e){var t,n={};return i(e.withMutations(function(e){e.forEach(function(r,i){var a=r.getKey(),s=r.getNextSiblingKey(),l=r.getPrevSiblingKey(),u=r.getChildKeys(),c=r.getParentKey(),f=o();if(n[a]=f,s&&(e.get(s)?e.setIn([s,"prevSibling"],f):e.setIn([a,"nextSibling"],null)),l&&(e.get(l)?e.setIn([l,"nextSibling"],f):e.setIn([a,"prevSibling"],null)),c&&e.get(c)){var p=e.get(c).getChildKeys();e.setIn([c,"children"],p.set(p.indexOf(r.getKey()),f))}else e.setIn([a,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],f),e.setIn([a,"prevSibling"],n[t.getKey()])),t=e.get(a);u.forEach(function(t){e.get(t)?e.setIn([t,"parent"],f):e.setIn([a,"children"],r.getChildKeys().filter(function(e){return e!==t}))})})}).toArray().map(function(e){return[n[e.getKey()],e.set("key",n[e.getKey()])]}))};e.exports=function(e){return e.first()instanceof r?a(e):i(e.toArray().map(function(e){var t=o();return[t,e.set("key",t)]}))}},6044(e,t,n){"use strict";var r=n(3018),o=n(8227),i=n(646);function a(e,t,n){var a=t.getCharacterList(),s=n>0?a.get(n-1):void 0,l=n=n&&(f={start:e,end:t})}),"object"!=typeof f&&i(!1),f),h=d.start,g=d.end;ht;)e=e.pop(),n--;else{var r=e.slice(0,t),o=e.slice(n);e=r.concat(o).toList()}return e};e.exports=function(e,t){if(t.isCollapsed())return e;var n,i,d=e.getBlockMap(),h=t.getStartKey(),g=t.getStartOffset(),m=t.getEndKey(),y=t.getEndOffset(),v=d.get(h),b=d.get(m),w=v instanceof r,_=[];if(w){var S=b.getChildKeys(),E=l(m,d);b.getNextSiblingKey()&&(_=_.concat(E)),S.isEmpty()||(_=_.concat(E.concat([m]))),_=_.concat(l(o(b,d),d))}i=v===b?p(v.getCharacterList(),g,y):v.getCharacterList().slice(0,g).concat(b.getCharacterList().slice(y));var k=v.merge({text:v.getText().slice(0,g)+b.getText().slice(y),characterList:i}),x=w&&0===g&&0===y&&b.getParentKey()===h&&null==b.getPrevSiblingKey()?a([[h,null]]):d.toSeq().skipUntil(function(e,t){return t===h}).takeUntil(function(e,t){return t===m}).filter(function(e,t){return -1===_.indexOf(t)}).concat(a([[m,null]])).map(function(e,t){return t===h?k:null}),O=d.merge(x).filter(function(e){return!!e});return w&&v!==b&&(O=(n=O).withMutations(function(e){if(s(v.getKey(),e,function(t){return t.merge({nextSibling:c(t,e,d),prevSibling:f(t,e,d)})}),s(b.getKey(),e,function(t){return t.merge({nextSibling:c(t,e,d),prevSibling:f(t,e,d)})}),l(v.getKey(),d).forEach(function(t){return s(t,e,function(t){return t.merge({children:t.getChildKeys().filter(function(t){return e.get(t)}),nextSibling:c(t,e,d),prevSibling:f(t,e,d)})})}),s(v.getNextSiblingKey(),e,function(e){return e.merge({prevSibling:v.getPrevSiblingKey()})}),s(v.getPrevSiblingKey(),e,function(t){return t.merge({nextSibling:c(t,e,d)})}),s(b.getNextSiblingKey(),e,function(t){return t.merge({prevSibling:f(t,e,d)})}),s(b.getPrevSiblingKey(),e,function(e){return e.merge({nextSibling:b.getNextSiblingKey()})}),l(b.getKey(),d).forEach(function(t){s(t,e,function(t){return t.merge({children:t.getChildKeys().filter(function(t){return e.get(t)}),nextSibling:c(t,e,d),prevSibling:f(t,e,d)})})}),u(b,d).forEach(function(t){return s(t,e,function(t){return t.merge({nextSibling:c(t,e,d),prevSibling:f(t,e,d)})})}),null==n.get(v.getKey())&&null!=n.get(b.getKey())&&b.getParentKey()===v.getKey()&&null==b.getPrevSiblingKey()){var t=v.getPrevSiblingKey();s(b.getKey(),e,function(e){return e.merge({prevSibling:t})}),s(t,e,function(e){return e.merge({nextSibling:b.getKey()})});var r=t?n.get(t):null,o=r?r.getParentKey():null;if(v.getChildKeys().forEach(function(t){s(t,e,function(e){return e.merge({parent:o})})}),null!=o){var i=n.get(o);s(o,e,function(e){return e.merge({children:i.getChildKeys().concat(v.getChildKeys())})})}s(v.getChildKeys().find(function(e){return null===n.get(e).getNextSiblingKey()}),e,function(e){return e.merge({nextSibling:v.getNextSiblingKey()})})}})),e.merge({blockMap:O,selectionBefore:t,selectionAfter:t.merge({anchorKey:h,anchorOffset:g,focusKey:h,focusOffset:g,isBackward:!1})})}},5188(e,t,n){"use strict";var r=n(9938),o=n(7282)("draft_tree_data_support");e.exports=function(e,t,n){var i=e.getSelection(),a=e.getCurrentContent(),s=i,l=i.getAnchorKey(),u=i.getFocusKey(),c=a.getBlockForKey(l);if(o&&"forward"===n&&l!==u)return a;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return a;if(o&&i.getAnchorOffset()===a.getBlockForKey(l).getLength()){var f=a.getBlockForKey(c.nextSibling);if(!f||0===f.getLength())return a}}else if(e.isSelectionAtStartOfContent())return a;if((s=t(e))===i)return a}return r.removeRange(a,s,n)}},1721(e){"use strict";var t=RegExp("\r","g");e.exports=function(e){return e.replace(t,"")}},4660(e,t,n){"use strict";var r=n(3334),o=n(7204),i=n(4134),a=n(4909),s=n(9758),l=n(9677),u=n(646),c=n(3816),f=i.isBrowser("IE");function p(e,t){for(var n=e,r=n;n;)if(c(n)&&r.hasAttribute("contenteditable"))return function(e,t){if(!e)return"[empty]";var n=function e(t,n){var r=void 0!==n?n(t):[];if(t.nodeType===Node.TEXT_NODE){var o=t.textContent.length;return l(t).createTextNode("[text "+o+(r.length?" | "+r.join(", "):"")+"]")}var i=t.cloneNode();1===i.nodeType&&r.length&&i.setAttribute("data-labels",r.join(", "));for(var a=t.childNodes,s=0;sd(t)&&o.logSelectionStateFailure({anonymizedDom:p(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var l=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(a){throw o.logSelectionStateFailure({anonymizedDom:p(t,function(t){var n=[];return t===i&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n}),extraParams:JSON.stringify({activeElementName:i?i.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:l,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(r.toJS(),null,2)}),a}}else if(t&&e.rangeCount>0){var u=e.getRangeAt(0);u.setEnd(t,n),e.addRange(u.cloneRange())}}function g(e,t,n,i){var a=l(t).createRange();if(n>d(t)&&(o.logSelectionStateFailure({anonymizedDom:p(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.handleExtensionCausedError()),a.setStart(t,n),f)try{e.addRange(a)}catch(e){}else e.addRange(a)}e.exports={setDraftEditorSelection:function(e,t,n,r,o){var i=l(t);if(a(i.documentElement,t)){var s=i.defaultView.getSelection(),u=e.getAnchorKey(),c=e.getAnchorOffset(),f=e.getFocusKey(),p=e.getFocusOffset(),d=e.getIsBackward();if(!s.extend&&d){var m=u,y=c;u=f,c=p,f=m,p=y,d=!1}var v=u===n&&r<=c&&o>=c,b=f===n&&r<=p&&o>=p;if(v&&b){s.removeAllRanges(),g(s,t,c-r,e),h(s,t,p-r,e);return}if(d){if(b&&(s.removeAllRanges(),g(s,t,p-r,e)),v){var w=s.focusNode,_=s.focusOffset;s.removeAllRanges(),g(s,t,c-r,e),h(s,w,_,e)}}else v&&(s.removeAllRanges(),g(s,t,c-r,e)),b&&h(s,t,p-r,e)}},addFocusToSelection:h}},3222(e,t,n){"use strict";var r=n(5224),o=n(6991),i=n(9404),a=n(646),s=n(5462),l=i.List,u=i.Map,c=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}};e.exports=function(e,t){t.isCollapsed()||a(!1);var n=t.getAnchorKey(),i=e.getBlockMap(),f=i.get(n),p=f.getText();if(!p){var d=f.getType();if("unordered-list-item"===d||"ordered-list-item"===d)return s(e,t,function(e){return e.merge({type:"unstyled",depth:0})})}var h=t.getAnchorOffset(),g=f.getCharacterList(),m=o(),y=f instanceof r,v=f.merge({text:p.slice(0,h),characterList:g.slice(0,h)}),b=v.merge({key:m,text:p.slice(h),characterList:g.slice(h),data:u()}),w=i.toSeq().takeUntil(function(e){return e===f}),_=i.toSeq().skipUntil(function(e){return e===f}).rest(),S=w.concat([[n,v],[m,b]],_).toOrderedMap();return y&&(f.getChildKeys().isEmpty()||a(!1),S=S.withMutations(function(e){var t=v.getKey(),n=b.getKey();c(v.getParentKey(),e,function(e){var r=e.getChildKeys(),o=r.indexOf(t)+1,i=r.toArray();return i.splice(o,0,n),e.merge({children:l(i)})}),c(v.getNextSiblingKey(),e,function(e){return e.merge({prevSibling:n})}),c(t,e,function(e){return e.merge({nextSibling:n})}),c(n,e,function(e){return e.merge({prevSibling:t})})})),e.merge({blockMap:S,selectionBefore:t,selectionAfter:t.merge({anchorKey:m,anchorOffset:0,focusKey:m,focusOffset:0,isBackward:!1})})}},3676(e){"use strict";var t=/\r\n?|\n/g;e.exports=function(e){return e.split(t)}},4809(e){"use strict";e.exports=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}},2395(e,t,n){"use strict";var r=n(2505),o=n(1864),i=n(9395),a=RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function l(e){if("file"==e.kind)return e.getAsFile()}e.exports=function(){function e(e){this.data=e,this.types=e.types?o(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!!(this.getHTML()&&this.getText())||!this.isImage()&&this.types.some(function(e){return s[e]})},t.getText=function(){var e;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(e=this.data.getData("text/plain")):e=this.data.getData("Text")),e?e.replace(a,"\n"):null},t.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");else if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},t.isLink=function(){return this.types.some(function(e){return -1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")})},t.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},t.isImage=function(){if(this.types.some(function(e){return -1!=e.indexOf("application/x-moz-file")}))return!0;for(var e=this.getFiles(),t=0;t0},e}()},5852(e){"use strict";e.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},2505(e){"use strict";var t={isImage:function(e){return"image"===n(e)[0]},isJpeg:function(e){var r=n(e);return t.isImage(e)&&("jpeg"===r[1]||"pjpeg"===r[1])}};function n(e){return e.split("/")}e.exports=t},3529(e){"use strict";function t(e,t){return!!t&&(e===t.documentElement||e===t.body)}e.exports={getTop:function(e){var n=e.ownerDocument;return t(e,n)?n.body.scrollTop||n.documentElement.scrollTop:e.scrollTop},setTop:function(e,n){var r=e.ownerDocument;t(e,r)?r.body.scrollTop=r.documentElement.scrollTop=n:e.scrollTop=n},getLeft:function(e){var n=e.ownerDocument;return t(e,n)?n.body.scrollLeft||n.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,n){var r=e.ownerDocument;t(e,r)?r.body.scrollLeft=r.documentElement.scrollLeft=n:e.scrollLeft=n}}},2935(e,t,n){"use strict";function r(e,t){var n=o.get(e,t);return"auto"===n||"scroll"===n}var o={get:n(6892),getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(r(e,"overflow")||r(e,"overflowY")||r(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}};e.exports=o},7405(e){"use strict";e.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞\xa1-\xb1\xb4-\xb8\xba\xbb\xbf]"}}},5324(e){"use strict";e.exports=function(){function e(e){var t,n;n=void 0,(t="_uri")in this?Object.defineProperty(this,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):this[t]=n,this._uri=e}return e.prototype.toString=function(){return this._uri},e}()},8307(e,t,n){"use strict";var r=n(5822),o=n(646),i="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",a="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",s=RegExp("[A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+i+a+"]"),l=RegExp("["+i+a+"]");function u(e){var t=s.exec(e);return null==t?null:t[0]}function c(e){var t=u(e);return null==t?r.NEUTRAL:l.exec(t)?r.RTL:r.LTR}function f(e,t){if(t=t||r.NEUTRAL,!e.length)return t;var n=c(e);return n===r.NEUTRAL?t:n}function p(e,t){return t||(t=r.getGlobalDir()),r.isStrong(t)||o(!1),f(e,t)}e.exports={firstStrongChar:u,firstStrongCharDir:c,resolveBlockDir:f,getDirection:p,isDirectionLTR:function(e,t){return p(e,t)===r.LTR},isDirectionRTL:function(e,t){return p(e,t)===r.RTL}}},5822(e,t,n){"use strict";var r=n(646),o=null;function i(e){return"LTR"===e||"RTL"===e}function a(e){return i(e)||r(!1),"LTR"===e?"ltr":"rtl"}e.exports={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:i,getHTMLDir:a,getHTMLDirIfDifferent:function(e,t){return i(e)||r(!1),i(t)||r(!1),e===t?null:a(e)},setGlobalDir:function(e){o=e},initGlobalDir:function(){o="LTR"},getGlobalDir:function(){return o||this.initGlobalDir(),o||r(!1),o}}},1708(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(8307),i=n(5822),a=n(646);e.exports=function(){function e(e){r(this,"_defaultDir",void 0),r(this,"_lastDir",void 0),e?i.isStrong(e)||a(!1):e=i.getGlobalDir(),this._defaultDir=e,this.reset()}var t=e.prototype;return t.reset=function(){this._lastDir=this._defaultDir},t.getDirection=function(e){return this._lastDir=o.getDirection(e,this._lastDir),this._lastDir},e}()},580(e,t,n){"use strict";var r=n(646),o=/[\uD800-\uDFFF]/;function i(e){return 55296<=e&&e<=57343}function a(e){return o.test(e)}function s(e,t){return 1+i(e.charCodeAt(t))}function l(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!a(e))return e.substr(t,n);var r=e.length;if(r<=0||t>r||n<=0)return"";var o=0;if(t>0){for(;t>0&&o=r)return""}else if(t<0){for(o=r;t<0&&00&&i=|~>|~|>|)?\s*(.+)/,l=/^(\d*)(.*)/;function u(e,t){if(""===(e=e.trim()))return!0;var n,r,i,a,s,l,u,d=t.split(o),h=f(e),g=h.modifier,y=h.rangeComponents;switch(g){case"<":return -1===m(d,y);case"<=":return -1===(n=m(d,y))||0===n;case">=":return c(d,y);case">":return 1===m(d,y);case"~":case"~>":return r=d,a=(i=y).slice(),(s=i.slice()).length>1&&s.pop(),l=s.length-1,p(u=parseInt(s[l],10))&&(s[l]=u+1+""),c(r,a)&&-1===m(r,s);default:return 0===m(d,y)}}function c(e,t){var n=m(e,t);return 1===n||0===n}function f(e){var t=e.split(o),n=t[0].match(s);return n||r(!1),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function p(e){return!isNaN(e)&&isFinite(e)}function d(e){return!f(e).modifier}function h(e,t){for(var n=e.length;nt)?1:e1?s.some(function(e){return y.contains(e,o)}):function(e,t){var n=e.split(a);if(n.length>0&&n.length<=2||r(!1),1===n.length)return u(n[0],t);var o=n[0],i=n[1];return d(o)&&d(i)||r(!1),u(">="+o,t)&&u("<="+i,t)}(n=s[0].trim(),o)}};e.exports=y},8748(e){"use strict";var t=/-(.)/g;e.exports=function(e){return e.replace(t,function(e,t){return t.toUpperCase()})}},4909(e,t,n){"use strict";var r=n(5423);e.exports=function e(t,n){if(!t||!n)return!1;if(t===n)return!0;if(r(t))return!1;if(r(n))return e(t,n.parentNode);if("contains"in t)return t.contains(n);else if(t.compareDocumentPosition)return!!(16&t.compareDocumentPosition(n));else return!1}},1864(e,t,n){"use strict";var r=n(646);e.exports=function(e){if(!(e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)))return[e];if(Array.isArray(e))return e.slice();var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&r(!1),"number"!=typeof t&&r(!1),0===t||t-1 in e||r(!1),"function"==typeof e.callee&&r(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),o=0;o-1;e.exports=function(e){return(e=e||document).scrollingElement?e.scrollingElement:t||"CSS1Compat"!==e.compatMode?e.body:e.documentElement}},8527(e,t,n){"use strict";var r=n(7078);e.exports=function(e){var t=r(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}}},7078(e,t,n){"use strict";var r=n(4909);e.exports=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!r(t,e))return{left:0,right:0,top:0,bottom:0};var n=e.getBoundingClientRect();return{left:Math.round(n.left)-t.clientLeft,right:Math.round(n.right)-t.clientLeft,top:Math.round(n.top)-t.clientTop,bottom:Math.round(n.bottom)-t.clientTop}}},7392(e,t,n){"use strict";var r=n(9824),o=n(7458);e.exports=function(e){var t=r(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=o(e),i=e===t?e.ownerDocument.documentElement:e,a=e.scrollWidth-i.clientWidth,s=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}},6892(e,t,n){"use strict";var r=n(8748),o=n(3998);function i(e){return null==e?e:String(e)}e.exports=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return i(n.getPropertyValue(o(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return i(n.getPropertyValue(o(t)));if("display"===t)return"none"}return e.currentStyle?"float"===t?i(e.currentStyle.cssFloat||e.currentStyle.styleFloat):i(e.currentStyle[r(t)]):i(e.style&&e.style[r(t)])}},7458(e){"use strict";e.exports=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}},1401(e){"use strict";function t(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function n(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function r(){return{width:window.innerWidth||t(),height:window.innerHeight||n()}}r.withoutScrollbars=function(){return{width:t(),height:n()}},e.exports=r},3998(e){"use strict";var t=/([A-Z])/g;e.exports=function(e){return e.replace(t,"-$1").toLowerCase()}},646(e){"use strict";var t=function(e){};e.exports=function(e,n){for(var r,o=arguments.length,i=Array(o>2?o-2:0),a=2;a1)for(var r=1;r-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=e[a]}return o()?{}:{obj:e,k:r(i.shift())}}n.d(t,{A:()=>eC});var o,i,a,s,l,u,c,f,p,d,h,g,m=[],y=m.forEach,v=m.slice,b=n(1635);function w(e,t){var n=t&&t.cache?t.cache:x,r=t&&t.serializer?t.serializer:E;return(t&&t.strategy?t.strategy:function(e,t){var n,r,o=1===e.length?_:S;return n=t.cache.create(),r=t.serializer,o.bind(this,e,n,r)})(e,{cache:n,serializer:r})}function _(e,t,n,r){var o=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),i=t.get(o);return void 0===i&&(i=e.call(this,r),t.set(o,i)),i}function S(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return void 0===i&&(i=e.apply(this,r),t.set(o,i)),i}var E=function(){return JSON.stringify(arguments)},k=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),x={create:function(){return new k}},O={variadic:function(e,t){var n,r;return n=t.cache.create(),r=t.serializer,S.bind(this,e,n,r)},monadic:function(e,t){var n,r;return n=t.cache.create(),r=t.serializer,_.bind(this,e,n,r)}};function C(e){return e.type===c.literal}function P(e){return e.type===c.number}function T(e){return e.type===c.date}function I(e){return e.type===c.time}function D(e){return e.type===c.select}function M(e){return e.type===c.plural}function L(e){return e.type===c.tag}function A(e){return!!(e&&"object"==typeof e&&e.type===f.number)}function R(e){return!!(e&&"object"==typeof e&&e.type===f.dateTime)}(o=u||(u={}))[o.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",o[o.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",o[o.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",o[o.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",o[o.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",o[o.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",o[o.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",o[o.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",o[o.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",o[o.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",o[o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",o[o.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",o[o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",o[o.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",o[o.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",o[o.INVALID_TAG=23]="INVALID_TAG",o[o.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",o[o.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",o[o.UNCLOSED_TAG=27]="UNCLOSED_TAG",(i=c||(c={}))[i.literal=0]="literal",i[i.argument=1]="argument",i[i.number=2]="number",i[i.date=3]="date",i[i.time=4]="time",i[i.select=5]="select",i[i.plural=6]="plural",i[i.pound=7]="pound",i[i.tag=8]="tag",(a=f||(f={}))[a.number=0]="number",a[a.dateTime=1]="dateTime";var N=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,j=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,B=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,F=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,U=/^(@+)?(\+|#+)?[rs]?$/g,H=/(\*)(0+)|(#+)(0+)|(0+)/g,z=/^(0+)$/;function $(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(U,function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""}),t}function K(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function V(e){var t=K(e);return t||{}}var W={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},q=new RegExp("^".concat(N.source,"*")),G=new RegExp("".concat(N.source,"*$"));function Y(e,t){return{start:e,end:t}}var X=!!String.prototype.startsWith&&"_a".startsWith("a",1),J=!!String.fromCodePoint,Q=!!Object.fromEntries,Z=!!String.prototype.codePointAt,ee=!!String.prototype.trimStart,et=!!String.prototype.trimEnd,en=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&0x1fffffffffffff>=Math.abs(e)},er=!0;try{er=(null==(p=ec("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:p[0])==="a"}catch(e){er=!1}var eo=X?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},ei=J?String.fromCodePoint:function(){for(var e,t=[],n=0;ni;){if((e=t[i++])>1114111)throw RangeError(e+" is not a valid code point");r+=e<65536?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,e%1024+56320)}return r},ea=Q?Object.fromEntries:function(e){for(var t={},n=0;n=r)){var o=e.charCodeAt(t);return o<55296||o>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?o:(o-55296<<10)+(n-56320)+65536}},el=ee?function(e){return e.trimStart()}:function(e){return e.replace(q,"")},eu=et?function(e){return e.trimEnd()}:function(e){return e.replace(G,"")};function ec(e,t){return new RegExp(e,t)}if(er){var ef=ec("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");d=function(e,t){var n;return ef.lastIndex=t,null!=(n=ef.exec(e)[1])?n:""}}else d=function(e,t){for(var n=[];;){var r,o=es(e,t);if(void 0===o||eh(o)||(r=o)>=33&&r<=35||36===r||r>=37&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||r>=46&&r<=47||r>=58&&r<=59||r>=60&&r<=62||r>=63&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||r>=162&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||r>=8208&&r<=8213||r>=8214&&r<=8215||8216===r||8217===r||8218===r||r>=8219&&r<=8220||8221===r||8222===r||8223===r||r>=8224&&r<=8231||r>=8240&&r<=8248||8249===r||8250===r||r>=8251&&r<=8254||r>=8257&&r<=8259||8260===r||8261===r||8262===r||r>=8263&&r<=8273||8274===r||8275===r||r>=8277&&r<=8286||r>=8592&&r<=8596||r>=8597&&r<=8601||r>=8602&&r<=8603||r>=8604&&r<=8607||8608===r||r>=8609&&r<=8610||8611===r||r>=8612&&r<=8613||8614===r||r>=8615&&r<=8621||8622===r||r>=8623&&r<=8653||r>=8654&&r<=8655||r>=8656&&r<=8657||8658===r||8659===r||8660===r||r>=8661&&r<=8691||r>=8692&&r<=8959||r>=8960&&r<=8967||8968===r||8969===r||8970===r||8971===r||r>=8972&&r<=8991||r>=8992&&r<=8993||r>=8994&&r<=9e3||9001===r||9002===r||r>=9003&&r<=9083||9084===r||r>=9085&&r<=9114||r>=9115&&r<=9139||r>=9140&&r<=9179||r>=9180&&r<=9185||r>=9186&&r<=9254||r>=9255&&r<=9279||r>=9280&&r<=9290||r>=9291&&r<=9311||r>=9472&&r<=9654||9655===r||r>=9656&&r<=9664||9665===r||r>=9666&&r<=9719||r>=9720&&r<=9727||r>=9728&&r<=9838||9839===r||r>=9840&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||r>=10132&&r<=10175||r>=10176&&r<=10180||10181===r||10182===r||r>=10183&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||r>=10224&&r<=10239||r>=10240&&r<=10495||r>=10496&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||r>=10649&&r<=10711||10712===r||10713===r||10714===r||10715===r||r>=10716&&r<=10747||10748===r||10749===r||r>=10750&&r<=11007||r>=11008&&r<=11055||r>=11056&&r<=11076||r>=11077&&r<=11078||r>=11079&&r<=11084||r>=11085&&r<=11123||r>=11124&&r<=11125||r>=11126&&r<=11157||11158===r||r>=11159&&r<=11263||r>=11776&&r<=11777||11778===r||11779===r||11780===r||11781===r||r>=11782&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||r>=11790&&r<=11798||11799===r||r>=11800&&r<=11801||11802===r||11803===r||11804===r||11805===r||r>=11806&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||r>=11818&&r<=11822||11823===r||r>=11824&&r<=11833||r>=11834&&r<=11835||r>=11836&&r<=11839||11840===r||11841===r||11842===r||r>=11843&&r<=11855||r>=11856&&r<=11857||11858===r||r>=11859&&r<=11903||r>=12289&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||r>=12306&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||r>=12318&&r<=12319||12320===r||12336===r||64830===r||64831===r||r>=65093&&r<=65094)break;n.push(o),t+=o>=65536?2:1}return ei.apply(void 0,n)};var ep=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o=this.char();if(123===o){var i=this.parseArgument(e,n);if(i.err)return i;r.push(i.val)}else if(125===o&&e>0)break;else if(35===o&&("plural"===t||"selectordinal"===t)){var a=this.clonePosition();this.bump(),r.push({type:c.pound,location:Y(a,this.clonePosition())})}else if(60!==o||this.ignoreTag||47!==this.peek())if(60===o&&!this.ignoreTag&&ed(this.peek()||0)){var i=this.parseTag(e,t);if(i.err)return i;r.push(i.val)}else{var i=this.parseLiteral(e,t);if(i.err)return i;r.push(i.val)}else if(!n)return this.error(u.UNMATCHED_CLOSING_TAG,Y(this.clonePosition(),this.clonePosition()));else break}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:c.literal,value:"<".concat(r,"/>"),location:Y(n,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(u.INVALID_TAG,Y(n,this.clonePosition()));var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var i=o.val,a=this.clonePosition();if(!this.bumpIf(""))?{val:{type:c.tag,value:r,children:i,location:Y(n,this.clonePosition())},err:null}:this.error(u.INVALID_TAG,Y(a,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o){r+=o;continue}var i=this.tryParseUnquoted(e,t);if(i){r+=i;continue}var a=this.tryParseLeftAngleBracket();if(a){r+=a;continue}break}var s=Y(n,this.clonePosition());return{val:{type:c.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ed(e=this.peek()||0)||47===e)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n)if(39===this.peek())t.push(39),this.bump();else{this.bump();break}else t.push(n);this.bump()}return ei.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),ei(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,Y(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(u.EMPTY_ARGUMENT,Y(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(u.MALFORMED_ARGUMENT,Y(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,Y(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:c.argument,value:r,location:Y(n,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,Y(n,this.clonePosition()));return this.parseArgumentOptions(e,t,r,n);default:return this.error(u.MALFORMED_ARGUMENT,Y(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=d(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:Y(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var o,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(u.EXPECT_ARGUMENT_TYPE,Y(i,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var p=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var h=eu(d.val);if(0===h.length)return this.error(u.EXPECT_ARGUMENT_STYLE,Y(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:Y(p,this.clonePosition())}}var g=this.tryParseArgumentClose(r);if(g.err)return g;var m=Y(r,this.clonePosition());if(l&&eo(null==l?void 0:l.style,"::",0)){var y=el(l.style.slice(2));if("number"===a){var d=this.parseNumberSkeletonFromString(y,l.styleLocation);if(d.err)return d;return{val:{type:c.number,value:n,location:m,style:d.val},err:null}}if(0===y.length)return this.error(u.EXPECT_DATE_TIME_SKELETON,m);var v,w=y;this.locale&&(w=function(e,t){for(var n="",r=0;r>1),l=function(e){var t,n=e.hourCycle;if(void 0===n&&e.hourCycles&&e.hourCycles.length&&(n=e.hourCycles[0]),n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var r=e.language;return"root"!==r&&(t=e.maximize().region),(W[t||""]||W[r||""]||W["".concat(r,"-001")]||W["001"])[0]}(t);for(("H"==l||"k"==l)&&(s=0);s-- >0;)n+="a";for(;a-- >0;)n=l+n}else"J"===o?n+="H":n+=o}return n}(y,this.locale));var h={type:f.dateTime,pattern:w,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(v={},w.replace(j,function(e){var t=e.length;switch(e[0]){case"G":v.era=4===t?"long":5===t?"narrow":"short";break;case"y":v.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":v.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":v.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":v.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");v.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");v.weekday=["short","long","narrow","short"][t-4];break;case"a":v.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":v.hourCycle="h12",v.hour=["numeric","2-digit"][t-1];break;case"H":v.hourCycle="h23",v.hour=["numeric","2-digit"][t-1];break;case"K":v.hourCycle="h11",v.hour=["numeric","2-digit"][t-1];break;case"k":v.hourCycle="h24",v.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":v.minute=["numeric","2-digit"][t-1];break;case"s":v.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":v.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),v):{}};return{val:{type:"date"===a?c.date:c.time,value:n,location:m,style:h},err:null}}return{val:{type:"number"===a?c.number:"date"===a?c.date:c.time,value:n,location:m,style:null!=(o=null==l?void 0:l.style)?o:null},err:null};case"plural":case"selectordinal":case"select":var _=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(u.EXPECT_SELECT_ARGUMENT_OPTIONS,Y(_,(0,b.Cl)({},_)));this.bumpSpace();var S=this.parseIdentifierIfPossible(),E=0;if("select"!==a&&"offset"===S.value){if(!this.bumpIf(":"))return this.error(u.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Y(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(u.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,u.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),S=this.parseIdentifierIfPossible(),E=d.val}var k=this.tryParsePluralOrSelectOptions(e,a,t,S);if(k.err)return k;var g=this.tryParseArgumentClose(r);if(g.err)return g;var x=Y(r,this.clonePosition());if("select"===a)return{val:{type:c.select,value:n,options:ea(k.val),location:x},err:null};return{val:{type:c.plural,value:n,options:ea(k.val),offset:E,pluralType:"plural"===a?"cardinal":"ordinal",location:x},err:null};default:return this.error(u.INVALID_ARGUMENT_TYPE,Y(i,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,Y(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(u.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Y(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(B).filter(function(e){return e.length>0}),n=[],r=0;r1)throw RangeError("integer-width stems only accept a single optional option");r.options[0].replace(H,function(e,n,r,o,i,a){if(n)t.minimumIntegerDigits=r.length;else if(o&&i)throw Error("We currently do not support maximum integer digits");else if(a)throw Error("We currently do not support exact integer digits");return""});continue}if(z.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(F.test(r.stem)){if(r.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(F,function(e,n,r,o,i,a){return"*"===r?t.minimumFractionDigits=n.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:i&&a?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""});var o=r.options[0];"w"===o?t=(0,b.Cl)((0,b.Cl)({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=(0,b.Cl)((0,b.Cl)({},t),$(o)));continue}if(U.test(r.stem)){t=(0,b.Cl)((0,b.Cl)({},t),$(r.stem));continue}var i=K(r.stem);i&&(t=(0,b.Cl)((0,b.Cl)({},t),i));var a=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!z.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem);a&&(t=(0,b.Cl)((0,b.Cl)({},t),a))}return t}(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var o,i=!1,a=[],s=new Set,l=r.value,c=r.location;;){if(0===l.length){var f=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(u.EXPECT_PLURAL_ARGUMENT_SELECTOR,u.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;c=Y(f,this.clonePosition()),l=this.message.slice(f.offset,this.offset())}else break}if(s.has(l))return this.error("select"===t?u.DUPLICATE_SELECT_ARGUMENT_SELECTOR:u.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(i=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?u.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:u.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Y(this.clonePosition(),this.clonePosition()));var h=this.parseMessage(e+1,t,n);if(h.err)return h;var g=this.tryParseArgumentClose(d);if(g.err)return g;a.push([l,{value:h.val,location:Y(d,this.clonePosition())}]),s.add(l),this.bumpSpace(),l=(o=this.parseIdentifierIfPossible()).value,c=o.location}return 0===a.length?this.error("select"===t?u.EXPECT_SELECT_ARGUMENT_SELECTOR:u.EXPECT_PLURAL_ARGUMENT_SELECTOR,Y(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(u.MISSING_OTHER_CLAUSE,Y(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,i=10*i+(a-48),this.bump();else break}var s=Y(r,this.clonePosition());return o?en(i*=n)?{val:i,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=es(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(eo(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&eh(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function ed(e){return e>=97&&e<=122||e>=65&&e<=90}function eh(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function eg(e,t){void 0===t&&(t={});var n=new ep(e,t=(0,b.Cl)({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(n.err){var r=SyntaxError(u[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,D(t)||M(t))for(var n in t.options)delete t.options[n].location,e(t.options[n].value);else P(t)&&A(t.style)||(T(t)||I(t))&&R(t.style)?delete t.style.location:L(t)&&e(t.children)})}(n.val),n.val}(s=h||(h={})).MISSING_VALUE="MISSING_VALUE",s.INVALID_VALUE="INVALID_VALUE",s.MISSING_INTL_API="MISSING_INTL_API";var em=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return(0,b.C6)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),ey=function(e){function t(t,n,r,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),h.INVALID_VALUE,o)||this}return(0,b.C6)(t,e),t}(em),ev=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),h.INVALID_VALUE,r)||this}return(0,b.C6)(t,e),t}(em),eb=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),h.MISSING_VALUE,n)||this}return(0,b.C6)(t,e),t}(em);function ew(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}(l=g||(g={}))[l.literal=0]="literal",l[l.object=1]="object";var e_=function(){function e(t,n,r,o){void 0===n&&(n=e.defaultLocale);var i,a,s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce(function(e,t){return e.length&&t.type===g.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return function e(t,n,r,o,i,a,s){if(1===t.length&&C(t[0]))return[{type:g.literal,value:t[0].value}];for(var l=[],u=0;u0?t[0]:"string"==typeof e?e:e[0])}},e.__parse=eg,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function eS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n/g,">").replace(/"/g,""").replace(/'/g,"'"):t[a]=s}return t}}],function(e,t){for(var n=0;n>>0;if(""+n!==t||0xffffffff===n)return NaN;t=n}return t<0?L(e)+t:t}function R(){return!0}function N(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function j(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var B="function"==typeof Symbol&&Symbol.iterator,F="@@iterator",U=B||F;function H(e){this.next=e}function z(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function $(){return{value:void 0,done:!0}}function K(e){return e&&"function"==typeof e.next}function V(e){var t=W(e);return t&&t.call(e)}function W(e){var t=e&&(B&&e[B]||e[F]);if("function"==typeof t)return t}function q(e){return e&&"number"==typeof e.length}function G(e){return null==e?eo():m(e)?e.toSeq():function(e){var t=es(e)||"object"==typeof e&&new ee(e);if(!t)throw TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}(e)}function Y(e){return null==e?eo().toKeyedSeq():m(e)?y(e)?e.toSeq():e.fromEntrySeq():ei(e)}function X(e){return null==e?eo():m(e)?y(e)?e.entrySeq():e.toIndexedSeq():ea(e)}function J(e){return(null==e?eo():!m(e)?ea(e):y(e)?e.entrySeq():e).toSetSeq()}H.prototype.toString=function(){return"[Iterator]"},H.KEYS=0,H.VALUES=1,H.ENTRIES=2,H.prototype.inspect=H.prototype.toSource=function(){return this.toString()},H.prototype[U]=function(){return this},f(G,p),G.of=function(){return G(arguments)},G.prototype.toSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq {","}")},G.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},G.prototype.__iterate=function(e,t){return el(this,e,t,!0)},G.prototype.__iterator=function(e,t){return eu(this,e,t,!0)},f(Y,G),Y.prototype.toKeyedSeq=function(){return this},f(X,G),X.of=function(){return X(arguments)},X.prototype.toIndexedSeq=function(){return this},X.prototype.toString=function(){return this.__toString("Seq [","]")},X.prototype.__iterate=function(e,t){return el(this,e,t,!1)},X.prototype.__iterator=function(e,t){return eu(this,e,t,!1)},f(J,G),J.of=function(){return J(arguments)},J.prototype.toSetSeq=function(){return this},G.isSeq=er,G.Keyed=Y,G.Set=J,G.Indexed=X;var Q="@@__IMMUTABLE_SEQ__@@";function Z(e){this._array=e,this.size=e.length}function ee(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function et(e){this._iterable=e,this.size=e.length||e.size}function en(e){this._iterator=e,this._iteratorCache=[]}function er(e){return!!(e&&e[Q])}function eo(){return e||(e=new Z([]))}function ei(e){var t=Array.isArray(e)?new Z(e).fromEntrySeq():K(e)?new en(e).fromEntrySeq():W(e)?new et(e).fromEntrySeq():"object"==typeof e?new ee(e):void 0;if(!t)throw TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function ea(e){var t=es(e);if(!t)throw TypeError("Expected Array or iterable object of values: "+e);return t}function es(e){return q(e)?new Z(e):K(e)?new en(e):W(e)?new et(e):void 0}function el(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function eu(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,a=0;return new H(function(){var e=o[n?i-a:a];return a++>i?$():z(t,r?e[0]:a-1,e[1])})}return e.__iteratorUncached(t,n)}function ec(e,t){return t?function e(t,n,r,o){return Array.isArray(n)?t.call(o,r,X(n).map(function(r,o){return e(t,r,o,n)})):ef(n)?t.call(o,r,Y(n).map(function(r,o){return e(t,r,o,n)})):n}(t,e,"",{"":e}):function e(t){return Array.isArray(t)?X(t).map(e).toList():ef(t)?Y(t).map(e).toMap():t}(e)}function ef(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ep(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!!("function"==typeof e.equals&&"function"==typeof t.equals&&e.equals(t))}function ed(e,t){if(e===t)return!0;if(!m(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||y(e)!==y(t)||v(e)!==v(t)||w(e)!==w(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!b(e);if(w(e)){var r=e.entries();return t.every(function(e,t){var o=r.next().value;return o&&ep(o[1],e)&&(n||ep(o[0],t))})&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var i=e;e=t,t=i}var a=!0,s=t.__iterate(function(t,r){if(n?!e.has(t):o?!ep(t,e.get(r,O)):!ep(e.get(r,O),t))return a=!1,!1});return a&&e.size===s}function eh(e,n){if(!(this instanceof eh))return new eh(e,n);if(this._value=e,this.size=void 0===n?1/0:Math.max(0,n),0===this.size){if(t)return t;t=this}}function eg(e,t){if(!e)throw Error(t)}function em(e,t,r){if(!(this instanceof em))return new em(e,t,r);if(eg(0!==r,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),r=void 0===r?1:Math.abs(r),tr?$():z(e,o,n[t?r-o++:o++])})},f(ee,Y),ee.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ee.prototype.has=function(e){return this._object.hasOwnProperty(e)},ee.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[t?o-i:i];if(!1===e(n[a],a,this))return i+1}return i},ee.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new H(function(){var a=r[t?o-i:i];return i++>o?$():z(e,a,n[a])})},ee.prototype[k]=!0,f(et,X),et.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n,r=V(this._iterable),o=0;if(K(r))for(;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},et.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=V(this._iterable);if(!K(n))return new H($);var r=0;return new H(function(){var t=n.next();return t.done?t:z(e,r++,t.value)})},f(en,X),en.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return z(e,o,r[o++])})},f(eh,X),eh.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},eh.prototype.get=function(e,t){return this.has(e)?this._value:t},eh.prototype.includes=function(e){return ep(this._value,e)},eh.prototype.slice=function(e,t){var n=this.size;return N(e,t,n)?this:new eh(this._value,j(t,n,n)-j(e,n,0))},eh.prototype.reverse=function(){return this},eh.prototype.indexOf=function(e){return ep(this._value,e)?0:-1},eh.prototype.lastIndexOf=function(e){return ep(this._value,e)?this.size:-1},eh.prototype.__iterate=function(e,t){for(var n=0;n1?" by "+this._step:"")+" ]"},em.prototype.get=function(e,t){return this.has(e)?this._start+A(this,e)*this._step:t},em.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t=0&&nn?$():z(e,i++,a)})},em.prototype.equals=function(e){return e instanceof em?this._start===e._start&&this._end===e._end&&this._step===e._step:ed(this,e)},f(ey,p),f(ev,ey),f(eb,ey),f(ew,ey),ey.Keyed=ev,ey.Indexed=eb,ey.Set=ew;var e_="function"==typeof Math.imul&&-2===Math.imul(0xffffffff,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function eS(e){return e>>>1&0x40000000|0xbfffffff&e}function eE(e){if(!1===e||null==e||"function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=0xffffffff*e);e>0xffffffff;)e/=0xffffffff,n^=e;return eS(n)}if("string"===t){return e.length>eI?(void 0===(i=eL[o=e])&&(i=ek(o),eM===eD&&(eM=0,eL={}),eM++,eL[o]=i),i):ek(e)}if("function"==typeof e.hashCode)return e.hashCode();if("object"===t){var o,i,a,s=e;if(eC&&void 0!==(a=r.get(s))||void 0!==(a=s[eT])||!eO&&(void 0!==(a=s.propertyIsEnumerable&&s.propertyIsEnumerable[eT])||void 0!==(a=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(s))))return a;if(a=++eP,0x40000000&eP&&(eP=0),eC)r.set(s,a);else if(void 0!==ex&&!1===ex(s))throw Error("Non-extensible objects are not allowed as keys.");else if(eO)Object.defineProperty(s,eT,{enumerable:!1,configurable:!1,writable:!1,value:a});else if(void 0!==s.propertyIsEnumerable&&s.propertyIsEnumerable===s.constructor.prototype.propertyIsEnumerable)s.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},s.propertyIsEnumerable[eT]=a;else if(void 0!==s.nodeType)s[eT]=a;else throw Error("Unable to set a non-enumerable property on object.");return a}if("function"==typeof e.toString)return ek(e.toString());throw Error("Value type "+t+" cannot be hashed.")}function ek(e){for(var t=0,n=0;n>>n)&31,s=(0===n?r:r>>>n)&31,l=a===s?[eQ(e,t,n+5,r,o)]:(i=new e$(t,r,o),a>1&0x55555555,e=(e=(0x33333333&e)+(e>>2&0x33333333))+(e>>4)&0xf0f0f0f,e+=e>>8,127&(e+=e>>16)}function e4(e,t,n,r){var o=r?e:M(e);return o[t]=n,o}eB[ej]=!0,eB[x]=eB.remove,eB.removeIn=eB.deleteIn,eF.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i=e5){var p=e,d=l,h=r,g=o;p||(p=new D);for(var m=new e$(p,eE(h),[h,g]),y=0;y>>e)&31),i=this.bitmap;return(i&o)==0?r:this.nodes[e3(i&o-1)].get(e+5,t,n,r)},eU.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=eE(r));var s=(0===t?n:n>>>t)&31,l=1<=e6){for(var g=e,m=p,y=u,v=s,b=h,w=0,_=Array(32),S=0;0!==y;S++,y>>>=1)_[S]=1&y?m[w++]:void 0;return _[v]=b,new eH(g,w+1,_)}if(c&&!h&&2===p.length&&eJ(p[1^f]))return p[1^f];if(c&&h&&1===p.length&&eJ(h))return h;var E=e&&e===this.ownerID,k=c?h?u:u^l:u|l,x=c?h?e4(p,f,h,E):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=Array(r),i=0,a=0;a>>e)&31,i=this.nodes[o];return i?i.get(e+5,t,n,r):r},eH.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=eE(r));var s=(0===t?n:n>>>t)&31,l=o===O,u=this.nodes,c=u[s];if(l&&!c)return this;var f=eX(c,e,t+5,n,r,o,i,a);if(f===c)return this;var p=this.count;if(c){if(!f&&--p0&&r<32)?ti(0,r,5,null,new tn(n.toArray())):t.withMutations(function(e){e.setSize(r),n.forEach(function(t,n){return e.set(n,t)})})}function e7(e){return!!(e&&e[te])}f(e9,eb),e9.of=function(){return this(arguments)},e9.prototype.toString=function(){return this.__toString("List [","]")},e9.prototype.get=function(e,t){if((e=A(this,e))>=0&&e=e.size||t<0)return e.withMutations(function(e){t<0?tc(e,t).set(0,n):tc(e,0,t+1).set(t,n)});t+=e._origin;var r=e._tail,o=e._root,i=T(P);return(t>=tp(e._capacity)?r=ts(r,e.__ownerID,0,t,n,i):o=ts(o,e.__ownerID,e._level,t,n,i),i.value)?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):ti(e._origin,e._capacity,e._level,o,r):e}(this,e,t)},e9.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},e9.prototype.insert=function(e,t){return this.splice(e,0,t)},e9.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):ta()},e9.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations(function(n){tc(n,0,t+e.length);for(var r=0;r>>t&31;if(o>=this.array.length)return new tn([],e);var i=0===o;if(t>0){var a=this.array[o];if((r=a&&a.removeBefore(e,t-5,n))===a&&i)return this}if(i&&!r)return this;var s=tl(this,e);if(!i)for(var l=0;l>>t&31;if(o>=this.array.length)return this;if(t>0){var i=this.array[o];if((r=i&&i.removeAfter(e,t-5,n))===i&&o===this.array.length-1)return this}var a=tl(this,e);return a.array.splice(o+1),r&&(a.array[o]=r),a};var tr={};function to(e,t){var n=e._origin,r=e._capacity,o=tp(r),i=e._tail;return function e(a,s,l){var u,c,f,p,d,h,g,m,y,v,b,w;return 0===s?(u=a,f=(c=l)===o?i&&i.array:u&&u.array,p=c>n?0:n-c,(d=r-c)>32&&(d=32),function(){if(p===d)return tr;var e=t?--d:p++;return f&&f[e]}):(h=a,g=s,m=l,v=h&&h.array,b=m>n?0:n-m>>g,(w=(r-m>>g)+1)>32&&(w=32),function(){for(;;){if(y){var n=y();if(n!==tr)return n;y=null}if(b===w)return tr;var r=t?--w:b++;y=e(v&&v[r],g-5,m+(r<>>n&31,l=e&&s0){var u=e&&e.array[s],c=ts(u,t,n-5,r,o,i);return c===u?e:((a=tl(e,t)).array[s]=c,a)}return l&&e.array[s]===o?e:(I(i),a=tl(e,t),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function tl(e,t){return t&&e&&t===e.ownerID?e:new tn(e?e.array.slice():[],t)}function tu(e,t){if(t>=tp(e._capacity))return e._tail;if(t<1<0;)n=n.array[t>>>r&31],r-=5;return n}}function tc(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new D,o=e._origin,i=e._capacity,a=o+t,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new tn(u&&u.array.length?[void 0,u]:[],r),l+=5,c+=1<=1<f?new tn([],r):d;if(d&&p>f&&a5;m-=5){var y=f>>>m&31;g=g.array[y]=tl(g.array[y],r)}g.array[f>>>5&31]=d}if(s=p)a-=p,s-=p,l=5,u=null,h=h&&h.removeBefore(r,0,a);else if(a>o||p>>l&31;if(v!==p>>>l&31)break;v&&(c+=(1<o&&(u=u.removeBefore(r,l,a-c)),u&&po&&(o=s.size),m(a)||(s=s.map(function(e){return ec(e)})),r.push(s)}return o>e.size&&(e=e.setSize(o)),e2(e,t,r)}function tp(e){return e<32?0:e-1>>>5<<5}function td(e){return null==e?tm():th(e)?e:tm().withMutations(function(t){var n=d(e);eA(n.size),n.forEach(function(e,n){return t.set(n,e)})})}function th(e){return eN(e)&&w(e)}function tg(e,t,n,r){var o=Object.create(td.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o}function tm(){return a||(a=tg(eG(),ta()))}function ty(e,t,n){var r,o,i=e._map,a=e._list,s=i.get(t),l=void 0!==s;if(n===O){if(!l)return e;a.size>=32&&a.size>=2*i.size?(r=(o=a.filter(function(e,t){return void 0!==e&&s!==t})).toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;r=i,o=a.set(s,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):tg(r,o)}function tv(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function tb(e){this._iter=e,this.size=e.size}function tw(e){this._iter=e,this.size=e.size}function t_(e){this._iter=e,this.size=e.size}function tS(e){var t=tj(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=tB,t.__iterateUncached=function(t,n){var r=this;return e.__iterate(function(e,n){return!1!==t(n,e,r)},n)},t.__iteratorUncached=function(t,n){if(2===t){var r=e.__iterator(t,n);return new H(function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(+(1!==t),n)},t}function tE(e,t,n){var r=tj(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,O);return i===O?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate(function(e,o,a){return!1!==r(t.call(n,e,o,a),o,i)},o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(2,o);return new H(function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return z(r,s,t.call(n,a[1],s,e),o)})},r}function tk(e,t){var n=tj(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=tS(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=tB,n.__iterate=function(t,n){var r=this;return e.__iterate(function(e,n){return t(e,n,r)},!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function tx(e,t,n,r){var o=tj(e);return r&&(o.has=function(r){var o=e.get(r,O);return o!==O&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,O);return i!==O&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate(function(e,i,l){if(t.call(n,e,i,l))return s++,o(e,r?i:s-1,a)},i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator(2,i),s=0;return new H(function(){for(;;){var i=a.next();if(i.done)return i;var l=i.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return z(o,r?u:s++,c,i)}})},o}function tO(e,t,n,r){var o,i=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),N(t,n,i))return e;var a=j(t,i,0),s=j(n,i,i);if(a!=a||s!=s)return tO(e.toSeq().cacheResult(),t,n,r);var l=s-a;l==l&&(o=l<0?0:l);var u=tj(e);return u.size=0===o?o:e.size&&o||void 0,!r&&er(e)&&o>=0&&(u.get=function(t,n){return(t=A(this,t))>=0&&to)return $();var e=i.next();return r||1===t?e:0===t?z(t,l-1,void 0,e):z(t,l-1,e.value[1],e)})},u}function tC(e,t,n,r){var o=tj(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,l=0;return e.__iterate(function(e,i,u){if(!(s&&(s=t.call(n,e,i,u))))return l++,o(e,r?i:l-1,a)}),l},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(2,i),l=!0,u=0;return new H(function(){var e,i,c;do{if((e=s.next()).done)if(r||1===o)return e;else if(0===o)return z(o,u++,void 0,e);else return z(o,u++,e.value[1],e);var f=e.value;i=f[0],c=f[1],l&&(l=t.call(n,c,i,a))}while(l);return 2===o?e:z(o,i,c,e)})},o}function tP(e,t,n){var r=tj(e);return r.__iterateUncached=function(r,o){var i=0,a=!1;return!function e(s,l){var u=this;s.__iterate(function(o,s){return(!t||l0}function tM(e,t,n){var r=tj(e);return r.size=new Z(n).map(function(e){return e.size}).min(),r.__iterate=function(e,t){for(var n,r=this.__iterator(1,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},r.__iteratorUncached=function(e,r){var o=n.map(function(e){return e=p(e),V(r?e.reverse():e)}),i=0,a=!1;return new H(function(){var n;return(a||(a=(n=o.map(function(e){return e.next()})).some(function(e){return e.done})),a)?$():z(e,i++,t.apply(null,n.map(function(e){return e.value})))})},r}function tL(e,t){return er(e)?t:e.constructor(t)}function tA(e){if(e!==Object(e))throw TypeError("Expected [K, V] tuple: "+e)}function tR(e){return eA(e.size),L(e)}function tN(e){return y(e)?d:v(e)?h:g}function tj(e){return Object.create((y(e)?Y:v(e)?X:J).prototype)}function tB(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):G.prototype.cacheResult.call(this)}function tF(e,t){return e>t?1:e=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):t9(e,t)},t4.prototype.pushAll=function(e){if(0===(e=h(e)).size)return this;eA(e.size);var t=this.size,n=this._head;return(e.reverse().forEach(function(e){t++,n={value:e,next:n}}),this.__ownerID)?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):t9(t,n)},t4.prototype.pop=function(){return this.slice(1)},t4.prototype.unshift=function(){return this.push.apply(this,arguments)},t4.prototype.unshiftAll=function(e){return this.pushAll(e)},t4.prototype.shift=function(){return this.pop.apply(this,arguments)},t4.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):t7()},t4.prototype.slice=function(e,t){if(N(e,t,this.size))return this;var n,r=j(e,this.size,0);if(j(t,n=this.size,n)!==this.size)return eb.prototype.slice.call(this,e,t);for(var o=this.size-r,i=this._head;r--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):t9(o,i)},t4.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?t9(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},t4.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},t4.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new H(function(){if(r){var t=r.value;return r=r.next,z(e,n++,t)}return $()})},t4.isStack=t5;var t6="@@__IMMUTABLE_STACK__@@",t8=t4.prototype;function t9(e,t,n,r){var o=Object.create(t8);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function t7(){return u||(u=t9(0))}function ne(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}t8[t6]=!0,t8.withMutations=eB.withMutations,t8.asMutable=eB.asMutable,t8.asImmutable=eB.asImmutable,t8.wasAltered=eB.wasAltered,p.Iterator=H,ne(p,{toArray:function(){eA(this.size);var e=Array(this.size||0);return this.valueSeq().__iterate(function(t,n){e[n]=t}),e},toIndexedSeq:function(){return new tb(this)},toJS:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJS?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new tv(this,!0)},toMap:function(){return eR(this.toKeyedSeq())},toObject:function(){eA(this.size);var e={};return this.__iterate(function(t,n){e[n]=t}),e},toOrderedMap:function(){return td(this.toKeyedSeq())},toOrderedSet:function(){return tZ(y(this)?this.valueSeq():this)},toSet:function(){return tW(y(this)?this.valueSeq():this)},toSetSeq:function(){return new tw(this)},toSeq:function(){return v(this)?this.toIndexedSeq():y(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return t4(y(this)?this.valueSeq():this)},toList:function(){return e9(y(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){var e=c.call(arguments,0);return tL(this,function(e,t){var n=y(e),r=[e].concat(t).map(function(e){return m(e)?n&&(e=d(e)):e=n?ei(e):ea(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===r.length)return e;if(1===r.length){var o=r[0];if(o===e||n&&y(o)||v(e)&&v(o))return o}var i=new Z(r);return n?i=i.toKeyedSeq():v(e)||(i=i.toSetSeq()),(i=i.flatten(!0)).size=r.reduce(function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}},0),i}(this,e))},includes:function(e){return this.some(function(t){return ep(t,e)})},entries:function(){return this.__iterator(2)},every:function(e,t){eA(this.size);var n=!0;return this.__iterate(function(r,o,i){if(!e.call(t,r,o,i))return n=!1,!1}),n},filter:function(e,t){return tL(this,tx(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate(function(r,o,i){if(e.call(t,r,o,i))return n=[o,r],!1}),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return eA(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){eA(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate(function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""}),t},keys:function(){return this.__iterator(0)},map:function(e,t){return tL(this,tE(this,e,t))},reduce:function(e,t,n){var r,o;return eA(this.size),arguments.length<2?o=!0:r=t,this.__iterate(function(t,i,a){o?(o=!1,r=t):r=e.call(n,r,t,i,a)}),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return tL(this,tk(this,!0))},slice:function(e,t){return tL(this,tO(this,e,t,!0))},some:function(e,t){return!this.every(ni(e),t)},sort:function(e){return tL(this,tT(this,e))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(e,t){return L(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){var n,r;return n=this,r=eR().asMutable(),n.__iterate(function(o,i){r.update(e.call(t,o,i,n),0,function(e){return e+1})}),r.asImmutable()},equals:function(e){return ed(this,e)},entrySeq:function(){var e=this;if(e._cache)return new Z(e._cache);var t=e.toSeq().map(no).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(ni(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(R)},flatMap:function(e,t){var n,r;return tL(this,(n=this,r=tN(n),n.toSeq().map(function(o,i){return r(e.call(t,o,i,n))}).flatten(!0)))},flatten:function(e){return tL(this,tP(this,e,!0))},fromEntrySeq:function(){return new t_(this)},get:function(e,t){return this.find(function(t,n){return ep(n,e)},void 0,t)},getIn:function(e,t){for(var n,r=this,o=tU(e);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,O):O)===O)return t}return r},groupBy:function(e,t){var n,r,o,i;return n=this,r=y(n),o=(w(n)?td():eR()).asMutable(),n.__iterate(function(i,a){o.update(e.call(t,i,a,n),function(e){return(e=e||[]).push(r?[a,i]:i),e})}),i=tN(n),o.map(function(e){return tL(n,i(e))})},has:function(e){return this.get(e,O)!==O},hasIn:function(e){return this.getIn(e,O)!==O},isSubset:function(e){return e="function"==typeof e.includes?e:p(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:p(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(nr).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return tI(this,e)},maxBy:function(e,t){return tI(this,t,e)},min:function(e){return tI(this,e?na(e):nu)},minBy:function(e,t){return tI(this,t?na(t):nu,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return tL(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return tL(this,tC(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ni(e),t)},sortBy:function(e,t){return tL(this,tT(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return tL(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){var n,r;return tL(this,(n=this,(r=tj(n)).__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return n.__iterate(function(n,o,s){return e.call(t,n,o,s)&&++a&&r(n,o,i)}),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=n.__iterator(2,o),s=!0;return new H(function(){if(!s)return $();var n=a.next();if(n.done)return n;var o=n.value,l=o[0],u=o[1];return e.call(t,u,l,i)?2===r?n:z(r,l,u,n):(s=!1,$())})},r))},takeUntil:function(e,t){return this.takeWhile(ni(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t,n,r=w(e),o=y(e),i=+!!r;return t=e.__iterate(o?r?function(e,t){i=31*i+nc(eE(e),eE(t))|0}:function(e,t){i=i+nc(eE(e),eE(t))|0}:r?function(e){i=31*i+eE(e)|0}:function(e){i=i+eE(e)|0}),n=e_(n=i,0xcc9e2d51),n=e_(n<<15|n>>>-15,0x1b873593),n=(n=e_(n<<13|n>>>-13,5))+0xe6546b64^t,n=e_(n^n>>>16,0x85ebca6b),n=eS((n=e_(n^n>>>13,0xc2b2ae35))^n>>>16)}(this))}});var nt=p.prototype;nt[_]=!0,nt[U]=nt.values,nt.__toJS=nt.toArray,nt.__toStringMapper=ns,nt.inspect=nt.toSource=function(){return this.toString()},nt.chain=nt.flatMap,nt.contains=nt.includes;try{Object.defineProperty(nt,"length",{get:function(){if(!p.noLengthWarning){var e;try{throw Error()}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}ne(d,{flip:function(){return tL(this,tS(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey(function(t){return ep(t,e)})},lastKeyOf:function(e){return this.findLastKey(function(t){return ep(t,e)})},mapEntries:function(e,t){var n=this,r=0;return tL(this,this.toSeq().map(function(o,i){return e.call(t,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(e,t){var n=this;return tL(this,this.toSeq().flip().map(function(r,o){return e.call(t,r,o,n)}).flip())}});var nn=d.prototype;function nr(e,t){return t}function no(e,t){return[t,e]}function ni(e){return function(){return!e.apply(this,arguments)}}function na(e){return function(){return-e.apply(this,arguments)}}function ns(e){return"string"==typeof e?JSON.stringify(e):e}function nl(){return M(arguments)}function nu(e,t){return et?-1:0}function nc(e,t){return e^t+0x9e3779b9+(e<<6)+(e>>2)}return nn[S]=!0,nn[U]=nt.entries,nn.__toJS=nt.toObject,nn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ns(e)},ne(h,{toKeyedSeq:function(){return new tv(this,!1)},filter:function(e,t){return tL(this,tx(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return tL(this,tk(this,!1))},slice:function(e,t){return tL(this,tO(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=j(e,e<0?this.count():this.size,0);var r=this.slice(0,e);return tL(this,1===n?r:r.concat(M(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return tL(this,tP(this,e,!1))},get:function(e,t){return(e=A(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find(function(t,n){return n===e},void 0,t)},has:function(e){return(e=A(this,e))>=0&&(void 0!==this.size?this.size===1/0||e=t||n<0||f&&r>=i}function w(){var e,n,r,o=g();if(b(o))return _(o);s=setTimeout(w,(e=o-l,n=o-u,r=t-e,f?h(r,i-n):r))}function _(e){return(s=void 0,p&&r)?v(e):(r=o=void 0,a)}function S(){var e,n=g(),i=b(n);if(r=arguments,o=this,l=n,i){if(void 0===s)return u=e=l,s=setTimeout(w,t),c?v(e):a;if(f)return s=setTimeout(w,t),v(l)}return void 0===s&&(s=setTimeout(w,t)),a}return t=y(t)||0,m(n)&&(c=!!n.leading,i=(f="maxWait"in n)?d(y(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),S.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=o=s=void 0},S.flush=function(){return void 0===s?a:_(g())},S}},1873(e,t,n){e.exports=n(9325).Symbol},2552(e,t,n){var r=n(1873),o=n(659),i=n(9350),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},4128(e,t,n){var r=n(1800),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},4840(e,t,n){e.exports="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g},659(e,t,n){var r=n(1873),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},9350(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9325(e,t,n){var r=n(4840),o="object"==typeof self&&self&&self.Object===Object&&self;e.exports=r||o||Function("return this")()},1800(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},8221(e,t,n){var r=n(3805),o=n(124),i=n(9374),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,u,c,f,p,d,h=0,g=!1,m=!1,y=!0;if("function"!=typeof e)throw TypeError("Expected a function");function v(t){var n=l,r=u;return l=u=void 0,h=t,f=e.apply(r,n)}function b(e){var n=e-d,r=e-h;return void 0===d||n>=t||n<0||m&&r>=c}function w(){var e,n,r,i=o();if(b(i))return _(i);p=setTimeout(w,(e=i-d,n=i-h,r=t-e,m?s(r,c-n):r))}function _(e){return(p=void 0,y&&l)?v(e):(l=u=void 0,f)}function S(){var e,n=o(),r=b(n);if(l=arguments,u=this,d=n,r){if(void 0===p)return h=e=d,p=setTimeout(w,t),g?v(e):f;if(m)return clearTimeout(p),p=setTimeout(w,t),v(d)}return void 0===p&&(p=setTimeout(w,t)),f}return t=i(t)||0,r(n)&&(g=!!n.leading,c=(m="maxWait"in n)?a(i(n.maxWait)||0,t):c,y="trailing"in n?!!n.trailing:y),S.cancel=function(){void 0!==p&&clearTimeout(p),h=0,l=d=u=p=void 0},S.flush=function(){return void 0===p?f:_(o())},S}},3805(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},346(e){e.exports=function(e){return null!=e&&"object"==typeof e}},4394(e,t,n){var r=n(2552),o=n(346);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},124(e,t,n){var r=n(9325);e.exports=function(){return r.Date.now()}},9374(e,t,n){var r=n(4128),o=n(3805),i=n(4394),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?a:+e}},1811(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>i});var r=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function o(e,t){if(e.length!==t.length)return!1;for(var n,o,i=0;ie instanceof u?e:function(e,t={}){let{encodePath:s=n}=t,c=new l(function*(e){let t=[...e],n=0;function s(){let e="";if(r.test(t[++n]))for(e+=t[n];o.test(t[++n]);)e+=t[n];else if('"'===t[n]){let r=n;for(;n!1===c?n:"param"===e.type?c:e=>e.split(f).map(c));return function(e){let t=p.exec(e);if(!t)return!1;let n=t[0],r=Object.create(null);for(let e=1;ee,r=/^[$_\p{ID_Start}]$/u,o=/^[$\u200c\u200d\p{ID_Continue}]$/u,i="https://git.new/pathToRegexpError",a={"{":"{","}":"}","(":"(",")":")","[":"[","]":"]","+":"+","?":"?","!":"!"};function s(e){return e.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}class l{constructor(e){this.tokens=e}peek(){if(!this._peek){let e=this.tokens.next();this._peek=e.value}return this._peek}tryConsume(e){let t=this.peek();if(t.type===e)return this._peek=void 0,t.value}consume(e){let t=this.tryConsume(e);if(void 0!==t)return t;let{type:n,index:r}=this.peek();throw TypeError(`Unexpected ${n} at ${r}, expected ${e}: ${i}`)}text(){let e,t="";for(;e=this.tryConsume("CHAR")||this.tryConsume("ESCAPED");)t+=e;return t}}class u{constructor(e){this.tokens=e}}},2694(e,t,n){"use strict";var r=n(6925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5556(e,t,n){e.exports=n(2694)()},6925(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2551(e,t,n){"use strict";var r,o,i,a,s,l,u=n(6540),c=n(9982);function f(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n